summaryrefslogtreecommitdiff
path: root/pthread.h
diff options
context:
space:
mode:
authorrpj <rpj>2001-06-05 07:48:19 +0000
committerrpj <rpj>2001-06-05 07:48:19 +0000
commitb77a92d5dbb0147c8dd872c0be8f4fe73a750490 (patch)
tree69e6c711d510a6c505cb6b26dceab6588f392403 /pthread.h
parent1451ff5c2051b5cadf84bd8e965dcda757101b13 (diff)
* nonportable.c (pthread_mutex_setdefaultkind_np):
Remove - should not have been included in the first place. (pthread_mutex_getdefaultkind_np): Likewise. * global.c (ptw32_mutex_default_kind): Likewise. * mutex.c (pthread_mutex_init): Remove use of ptw32_mutex_default_kind. * pthread.h (pthread_mutex_setdefaultkind_np): Likewise. (pthread_mutex_getdefaultkind_np): Likewise. * pthread.def (pthread_mutexattr_setkind_np): Added. (pthread_mutexattr_getkind_np): Likewise. * README: Many changes that should have gone in before the last snapshot. * README.NONPORTABLE: New - referred to by ANNOUNCE but never created; documents the non-portable routines included in the library - moved from README with new routines added. * ANNOUNCE (pthread_mutexattr_setkind_np): Added to compliance list. (pthread_mutexattr_getkind_np): Likewise.
Diffstat (limited to 'pthread.h')
-rw-r--r--pthread.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/pthread.h b/pthread.h
index 56b6231..bf9e970 100644
--- a/pthread.h
+++ b/pthread.h
@@ -806,20 +806,20 @@ int pthread_rwlock_unlock(pthread_rwlock_t *lock);
* Non-portable functions
*/
+/*
+ * Compatibility with Linux.
+ */
int pthread_mutexattr_setkind_np(pthread_mutexattr_t * attr, int kind);
int pthread_mutexattr_getkind_np(pthread_mutexattr_t * attr, int *kind);
/*
- * Remaps the default mutex kind to any of the
- * other possible types. Returns the previous type.
+ * Possibly supported by other POSIX threads implementations
*/
-int pthread_mutex_setdefaultkind_np(int kind);
-int pthread_mutex_getdefaultkind_np(int *kind);
-
-
-/* Possibly supported by other POSIX threads implementations */
int pthread_delay_np (struct timespec * interval);
+/*
+ * Returns the Win32 HANDLE for the POSIX thread.
+ */
HANDLE pthread_getw32threadhandle_np(pthread_t thread);
/*