AR# 47636

13.4 EDK - What timing does XilKernel give threads created with the sys_thread_new() command?

描述

What timing does XilKernel give threads created with the sys_thread_new(...) command?

解决方案

The command sys_thread_new(...) creates a new POSIX thread, thereby calling pthread_create(...) in the background. Depending on what scheduling algorithm:

  1. Time-Slicing (Round-Robin): The new thread will be given a full slice of time equivalent to the setting in your Board Support Package.
  2. 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.
AR# 47636
日期 11/13/2012
状态 Active
Type 综合文章
Tools