SCHED_RR in Classic API?
kamen at penev.net
Fri May 30 00:44:44 UTC 2003
Joel Sherrill wrote:
> So you can call pthread_XXX on a task created using the Classic API.
> This would be the easiest way to get this scheduling mode.
After successfully creating a classic task with:
status = rtems_task_create(Task_name[MON_TASKNUM],
assert (RTEMS_SUCCESSFUL == status);
The following fails:
pstatus = pthread_setschedparam(Task_id[MON_TASKNUM],
pstatus is ESRCH, which was the result of _Objects_Get searching for the
classic Task_id in _POSIX_Threads_Information (via _POSIX_Threads_Get)..
What am I missing?
More information about the users