diff options
-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, |