Hi Ivan,
Thank you for your response.
yes, i have read the comments. but i am not very clear what is the
difference between "SINGLE_EXIT" and "SINGLE_BOUNDARY".
>From the comments, I guess that this routine should suspend the other
threads and only one thread can run. But from the internal implementation of
"thread_single", all other threads are waked up. I am very confused.
BR, S.Xia
> Message: 4
> Date: Fri, 14 Nov 2008 11:10:52 +0100
> From: Ivan Voras <
ivoras@...>
> Subject: Re: inquiry
> To:
freebsd-smp@...
> Message-ID: <
gfjiqc$pvk$2@...>
> Content-Type: text/plain; charset="utf-8"
>
> Sam Xia wrote:
> > Dear all,
> >
> > I am a new comer to FreeBSD kernel. I am reading code of
> FeeBSD kernel.
> > who can help me explain the purpose/usage/aciton of routine
> > "thread_single()" in kern_thread.c of FreeBSD7.0?
>
> Have you read the comment describing the function (it's there
> immediately before the function)?
>
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: signature.asc
> Type: application/pgp-signature
> Size: 252 bytes
> Desc: OpenPGP digital signature
> Url :
>
http://lists.freebsd.org/pipermail/freebsd-smp/attachments/20081114/67b95a7c/signature-0001.pgp
_______________________________________________
freebsd-smp@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-smpTo unsubscribe, send any mail to "
freebsd-smp-unsubscribe@..."