diff options
Diffstat (limited to 'include/pthread_np.h')
-rw-r--r-- | include/pthread_np.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/pthread_np.h b/include/pthread_np.h index ce055f3..55eae78 100644 --- a/include/pthread_np.h +++ b/include/pthread_np.h @@ -34,6 +34,11 @@ #define _PTHREAD_NP_H_ /* + * Non-POSIX type definitions: + */ +typedef void (*pthread_switch_routine_t) __P((pthread_t, pthread_t)); + +/* * Non-POSIX thread function prototype definitions: */ __BEGIN_DECLS @@ -45,6 +50,8 @@ int pthread_suspend_np __P((pthread_t)); int pthread_mutexattr_getkind_np __P((pthread_mutexattr_t attr)); int pthread_mutexattr_setkind_np __P((pthread_mutexattr_t *attr, int kind)); void pthread_set_name_np __P((pthread_t, char *)); +int pthread_switch_add_np (pthread_switch_routine_t routine); +int pthread_switch_delete_np (pthread_switch_routine_t routine); __END_DECLS #endif |