Robot Control Library
pthread.h File Reference
#include <pthread.h>

Go to the source code of this file.

Functions

int rc_pthread_create (pthread_t *thread, void *(*func)(void *), void *arg, int policy, int priority)
 starts a pthread with specified policy and priority More...
 
int rc_pthread_timed_join (pthread_t thread, void **retval, float timeout_sec)
 Joins a thread with timeout given in seconds. More...
 
int rc_pthread_print_properties (pthread_t thread)
 Prints human-readable scheduler and priority for a pthread_t handle. More...
 
int rc_pthread_set_properties_self (int policy, int priority)
 Lets a thread change it's own scheduler policy and priority while running. More...
 
int rc_pthread_get_process_niceness (void)
 fetches the niceness value of the executing process More...
 
int rc_pthread_set_process_niceness (int niceness)
 Lets a process change its own niceness value. More...