Date: Tue, 19 Jan 2010 12:16:35 +0100 From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@des.no> To: Bernard van Gastel <bvgastel@bitpowder.com> Cc: freebsd-hackers@freebsd.org Subject: Re: pthread_{mutex,cond} & fifo/starvation/scheduling policy Message-ID: <86hbqifip8.fsf@ds4.des.no> In-Reply-To: <71A129DC-68A0-46C3-956D-C8AFF1BA29E1@bitpowder.com> (Bernard van Gastel's message of "Tue, 19 Jan 2010 11:44:08 %2B0100") References: <71A129DC-68A0-46C3-956D-C8AFF1BA29E1@bitpowder.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Bernard van Gastel <bvgastel@bitpowder.com> writes: > What is the scheduling policy of the different thread libraries? Threads are scheduled by the kernel, not by the library. Look at sys/kern/sched_umtx.c and sys/kern/sched_{4bsd,ule}.c. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86hbqifip8.fsf>