[PATCH] pthread_getattr_np, pthread_setschedprio

2011-04-10 Thread Yaakov (Cygwin/X)
This patch adds two pthread functions which appear to be "low-hanging fruit". pthread_setschedprio(3) is a POSIX function[1][2] which changes the scheduling priority for the given thread. It is similar to pthread_setschedparam(3) but does not change the scheduling policy and doesn't require the p

Re: [PATCH] pthread_getattr_np, pthread_setschedprio

2011-04-14 Thread Yaakov (Cygwin/X)
On Sun, 2011-04-10 at 21:30 -0500, Yaakov (Cygwin/X) wrote: > This patch adds two pthread functions which appear to be "low-hanging > fruit". > > pthread_setschedprio(3) is a POSIX function[1][2] which changes the > scheduling priority for the given thread. It is similar to > pthread_setschedpara

Re: [PATCH] pthread_getattr_np, pthread_setschedprio

2011-04-14 Thread Christopher Faylor
On Thu, Apr 14, 2011 at 10:00:32PM -0500, Yaakov (Cygwin/X) wrote: >On Sun, 2011-04-10 at 21:30 -0500, Yaakov (Cygwin/X) wrote: >> This patch adds two pthread functions which appear to be "low-hanging >> fruit". >> >> pthread_setschedprio(3) is a POSIX function[1][2] which changes the >> schedulin