mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-08-21 06:21:11 +08:00
2008-12-14 Joel Sherrill <joel.sherrill@oarcorp.com>
* psx05/init.c: Add parameter to call to sched_get_priority_max().
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
2008-12-14 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* psx05/init.c: Add parameter to call to sched_get_priority_max().
|
||||
|
||||
2008-12-14 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* psx05/init.c, psx07/init.c, psx09/init.c, psx11/init.c, psx12/init.c:
|
||||
|
||||
@@ -468,7 +468,7 @@ void *POSIX_Init(
|
||||
|
||||
/* set priority of Task2 to highest priority */
|
||||
|
||||
param.sched_priority = sched_get_priority_max();
|
||||
param.sched_priority = sched_get_priority_max( SCHED_FIFO );
|
||||
|
||||
puts( "Init: pthread_setschedparam - Setting Task2 priority to highest" );
|
||||
status = pthread_setschedparam( Task2_id, SCHED_FIFO, ¶m );
|
||||
|
||||
Reference in New Issue
Block a user