Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Nov 2008 14:32:23 +0800
From:      Sam Xia <xiazhongqi@huawei.com>
To:        freebsd-smp@freebsd.org
Cc:        ivoras@freebsd.org
Subject:   RE: freebsd-smp Digest, Vol 223, Issue 4
Message-ID:  <001501c946eb$eb4c8810$2f096f0a@china.huawei.com>
In-Reply-To: <20081114120026.294C21065801@hub.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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@freebsd.org>
> Subject: Re: inquiry
> To: freebsd-smp@freebsd.org
> Message-ID: <gfjiqc$pvk$2@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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-smp
> To unsubscribe, send any mail to "freebsd-smp-unsubscribe@freebsd.org"
> 
> End of freebsd-smp Digest, Vol 223, Issue 4
> *******************************************
> 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001501c946eb$eb4c8810$2f096f0a>