diff options
author | bje <bje> | 1998-07-25 22:45:17 +0000 |
---|---|---|
committer | bje <bje> | 1998-07-25 22:45:17 +0000 |
commit | 0dd870caa461a8d91f7ec2365e1d542bc0615fb8 (patch) | |
tree | bee790e3f8a903c02ac6801759aec21b5828dde0 | |
parent | d2298ecbc9910e9186dad3eeb7fa8eed7bca9a80 (diff) |
1998-07-26 Ben Elliston <bje@cygnus.com>
* mutex.c (pthread_mutexattr_setpshared): Not supported; remove.
(pthread_mutexattr_getpshared): Likewise.
* pthread.h (pthread_mutexattr_setpshared): Remove prototype.
(pthread_mutexattr_getpshared): Likewise.
-rw-r--r-- | ChangeLog | 8 | ||||
-rw-r--r-- | mutex.c | 15 | ||||
-rw-r--r-- | pthread.h | 6 |
3 files changed, 8 insertions, 21 deletions
@@ -1,3 +1,11 @@ +1998-07-26 Ben Elliston <bje@cygnus.com> + + * mutex.c (pthread_mutexattr_setpshared): Not supported; remove. + (pthread_mutexattr_getpshared): Likewise. + + * pthread.h (pthread_mutexattr_setpshared): Remove prototype. + (pthread_mutexattr_getpshared): Likewise. + Sun Jul 26 00:09:59 1998 Ross Johnson <rpj@ixobrychus.canberra.edu.au> * sync.c: Rename all instances of _pthread_count_mutex to @@ -55,21 +55,6 @@ pthread_mutexattr_destroy(pthread_mutexattr_t *attr) } int -pthread_mutexattr_setpshared(pthread_mutexattr_t *attr, int process_shared) -{ - /* This function is not supported. */ - return ENOSYS; -} - -int -pthread_mutexattr_getpshared(const pthread_mutexattr_t *attr, - int *process_shared) -{ - /* This function is not supported. */ - return ENOSYS; -} - -int pthread_mutex_lock(pthread_mutex_t *mutex) { EnterCriticalSection(mutex); @@ -208,12 +208,6 @@ int pthread_mutexattr_init(pthread_mutexattr_t *attr); int pthread_mutexattr_destroy(pthread_mutexattr_t *attr); -int pthread_mutexattr_setpshared(pthread_mutexattr_t *attr, - int pshared); - -int pthread_mutexattr_getpshared(pthread_mutexattr_t *attr, - int *pshared); - /* Primitives for condition variables. */ int pthread_cond_init(pthread_cond_t *cv, |