freebsd-smp Digest, Vol 223, Issue 4

Sam Xia xiazhongqi at huawei.com
Fri Nov 14 22:32:54 PST 2008


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 at freebsd.org>
> Subject: Re: inquiry
> To: freebsd-smp at freebsd.org
> Message-ID: <gfjiqc$pvk$2 at ger.gmane.org>
> 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
> 
> ------------------------------
> 
> _______________________________________________
> freebsd-smp at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-smp
> To unsubscribe, send any mail to "freebsd-smp-unsubscribe at freebsd.org"
> 
> End of freebsd-smp Digest, Vol 223, Issue 4
> *******************************************
> 



More information about the freebsd-smp mailing list