Hi, Does anyone know if setting explicit priorities is currently working under cygwin/pthread?
I am calling the following: * pthread_attr_setschedparam() with a fixed priority between -14 and 5 * pthread_attr_setschedpolicy with SCHED_FIFO parameter * pthread_attr_setinheritsched with PTHREAD_EXPLICIT_SCHED parameter >From within the spawned thread I am calling pthread_getschedparam() but this always returns current priority 0. This is confirmed by the fact that two threads which are running at different priorities just seem to timeslice between each other. Is this expected behavour? Thanks, Paul. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/