But the descheduling of threads if the mutex is not available is done by the library. And especially the order of rescheduling of the threads (thats what I'm interested in). Or am I missing something in the sys/kern/sched files (btw I don't have the umtx file).
Regards, Bernard Op 19 jan 2010, om 12:16 heeft Dag-Erling Smørgrav het volgende geschreven: > Bernard van Gastel <bvgas...@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 > -- > Dag-Erling Smørgrav - d...@des.no