forked from Imagelibrary/rtems
2009-07-19 Joel Sherrill <joel.sherrill@oarcorp.com>
* psx11/init.c: Use explicit scheduler.
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
2009-07-19 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* psx11/init.c: Use explicit scheduler.
|
||||
|
||||
2009-07-17 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||
|
||||
* Makefile.am, configure.ac: Add test to exercise
|
||||
|
||||
@@ -93,6 +93,8 @@ void *POSIX_Init(
|
||||
status = pthread_attr_init( &attr );
|
||||
assert( !status );
|
||||
|
||||
status = pthread_attr_setinheritsched( &attr, PTHREAD_EXPLICIT_SCHED );
|
||||
assert( !status );
|
||||
attr.schedpolicy = SCHED_RR;
|
||||
attr.schedparam.sched_priority = priority_4;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user