summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog8
-rw-r--r--mutex.c15
-rw-r--r--pthread.h6
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 <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
diff --git a/mutex.c b/mutex.c
index 35d482c..e779729 100644
--- a/mutex.c
+++ b/mutex.c
@@ -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);
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,