Manpages

NAME

pthread_wait_np — suspend the current thread until the next period

SYNOPSIS

#include <rtl_sched.h>

int pthread_wait_np(void);

DESCRIPTION

This function is a non-portable Realtime Linux extension. pthread_wait_np suspends execution of the currently running realtime thread until the start of the next period. The thread was previously marked for execution using pthread_make_periodic_np.

The thread gives up control until the next time period.

RETURN VALUE

Always returns 0

ERRORS

None.

AUTHOR

Michael Barabanov (baraban [AT] fsmlabs.com (link to URL mailto:baraban [AT] fsmlabs.com) )

SEE ALSO

pthread_make_periodic_np(3) (link to URL pthread_make_periodic_np.3.html) , pthread_suspend_np(3) (link to URL pthread_suspend_np.3.html)

©2001 FSMLabs Inc.

All rights reserved.