Strawman proposal: making libthr default thread implementation?

Robert Watson rwatson at FreeBSD.org
Mon Jul 3 12:36:42 UTC 2006


On Mon, 3 Jul 2006, Daniel Eischen wrote:

>> - Are there technical features present in libpthread that aren't yet in
>>  libthr, and are required?  In the past system/local thread support has 
>> been
>>  the complaint, but I believe that is now long fixed.  This is useful
>>  regardless of a switch.
>
> Yes, you have to support PTHREAD_PRIO_PROTECT, PTHREAD_PRIO_INHERIT mutexes, 
> and SCHED_RR, SCHED_FIFO, and SCHED_SPORADIC scheduling (hopefully not under 
> the restriction that you are a privileged user).
>
> If you can those in libthr, I have no objection.  However, these are not as 
> easy to do in 1:1.

Thanks for leeting me know.  Other than thee above missing scheduling 
functionality, are you aware of any other missing or substantially 
non-functional features in libthr that are important to this discussion?

Robert N M Watson
Computer Laboratory
University of Cambridge


More information about the freebsd-threads mailing list