diff options
author | John Birrell <jb@FreeBSD.org> | 1999-03-23 05:11:30 +0000 |
---|---|---|
committer | John Birrell <jb@FreeBSD.org> | 1999-03-23 05:11:30 +0000 |
commit | b847980f1531b6a497fb7601bb2f9dec7d88a681 (patch) | |
tree | af1c5ae22920fe1042be0f010dbd2ab5731857db /include/pthread_np.h | |
parent | 58a7cc5d1be640708d2c5e05bf48a8ae379a8d3e (diff) | |
download | src-test2-b847980f1531b6a497fb7601bb2f9dec7d88a681.tar.gz src-test2-b847980f1531b6a497fb7601bb2f9dec7d88a681.zip |
Notes
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 ce055f39a004..55eae78fd90e 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 |