UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

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:

  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
Date Created 11/13/2012
Last Updated 11/13/2012
Status Active
Type General Article
Tools
  • EDK - 13.4