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 <[EMAIL PROTECTED]>
> Subject: Re: inquiry
> To: [email protected]
> Message-ID: <[EMAIL PROTECTED]>
> 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/200
81114/67b95a7c/signature-0001.pgp
> 
> ------------------------------
> 
> _______________________________________________
> [email protected] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-smp
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 
> End of freebsd-smp Digest, Vol 223, Issue 4
> *******************************************
> 

_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-smp
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to