AR# 47636: 13.4 EDK - What timing does XilKernel give threads created with the sys_thread_new() command?
AR# 47636
|
13.4 EDK - What timing does XilKernel give threads created with the sys_thread_new() command?
Description
What timing does XilKernel give threads created with the sys_thread_new(...) command?
Solution
The command sys_thread_new(...) creates a new POSIX thread, thereby calling pthread_create(...) in the background. Depending on what scheduling algorithm:
Time-Slicing (Round-Robin): The new thread will be given a full slice of time equivalent to the setting in your Board Support Package.
Preemptive: The new thread will have priority and timing based on the parameters passed to it, as described in the EDK OS and Libraries Guide.