#include <rtl_sched.h> int pthread_make_periodic_np(pthread_t thread, hrtime_t start_time, hrtime_t period); |
This function is a non-portable Realtime Linux extension. pthread_make_periodic_np marks the thread thread as ready for execution. The thread will start its execution at start_time (as shown by the clock used for scheduling) and will run at intervals specified by period given in nanoseconds. RTLinux will attempt to make thread timing as close as possible to what is specified, but start time and period depend on the hardware clock resolution.
©2001 FSMLabs Inc.
All rights reserved.