From 0dd870caa461a8d91f7ec2365e1d542bc0615fb8 Mon Sep 17 00:00:00 2001 From: bje Date: Sat, 25 Jul 1998 22:45:17 +0000 Subject: 1998-07-26 Ben Elliston * mutex.c (pthread_mutexattr_setpshared): Not supported; remove. (pthread_mutexattr_getpshared): Likewise. * pthread.h (pthread_mutexattr_setpshared): Remove prototype. (pthread_mutexattr_getpshared): Likewise. --- ChangeLog | 8 ++++++++ mutex.c | 15 --------------- pthread.h | 6 ------ 3 files changed, 8 insertions(+), 21 deletions(-) diff --git a/ChangeLog b/ChangeLog index ba1c3b9..37c8c74 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +1998-07-26 Ben Elliston + + * 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 * sync.c: Rename all instances of _pthread_count_mutex to diff --git a/mutex.c b/mutex.c index 35d482c..e779729 100644 --- a/mutex.c +++ b/mutex.c @@ -54,21 +54,6 @@ pthread_mutexattr_destroy(pthread_mutexattr_t *attr) return 0; } -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) { diff --git a/pthread.h b/pthread.h index 7315bf0..129c720 100644 --- a/pthread.h +++ b/pthread.h @@ -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, -- cgit v1.2.3