On Thu, Sep 23, 2010 at 11:40:38AM +0100, Stuart Henderson wrote:
> we have support for thread priorities, see src/lib/libpthread/uthread/
> and pthreads(3), just not the sched_get_priority_*() functions.

Good, thanks for clarifying.

> it might make sense to add them though, we have patches in a few
> ports for this:

Adding this function would be the correct fix. These patches appear to
just workaround the real issue.

Is there any harm in also adding MAX/MIN to the pthread header? This will allow
us to rid of magic numbers until the function becomes available.

-- 
Best Regards
Edd Barrett

http://www.theunixzoo.co.uk

Reply via email to