aboutsummaryrefslogtreecommitdiffstats
path: root/include/pthread.h
diff options
context:
space:
mode:
authorStefan Farfeleder <stefanf@FreeBSD.org>2005-08-19 21:31:42 +0000
committerStefan Farfeleder <stefanf@FreeBSD.org>2005-08-19 21:31:42 +0000
commitad7c49168f8b32fedbe11f4675cb7d4bd3b896e6 (patch)
tree67c1a39113f2a15d17e7af116bbeebff1d3c81d4 /include/pthread.h
parent7cd5160a0bfe59c045b702180490fdb4d1a423ea (diff)
downloadsrc-ad7c49168f8b32fedbe11f4675cb7d4bd3b896e6.tar.gz
src-ad7c49168f8b32fedbe11f4675cb7d4bd3b896e6.zip
- Prefix MUTEX_TYPE_MAX with PTHREAD_ to avoid namespace pollution.
- Remove the macros MUTEX_TYPE_FAST and MUTEX_TYPE_COUNTING_FAST. OK'ed by: deischen
Notes
Notes: svn path=/head/; revision=149298
Diffstat (limited to 'include/pthread.h')
-rw-r--r--include/pthread.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/include/pthread.h b/include/pthread.h
index 703fef613fdb..f4abba1ead78 100644
--- a/include/pthread.h
+++ b/include/pthread.h
@@ -121,8 +121,6 @@
*
* PTHREAD_MUTEX_NORMAL
* PTHREAD_MUTEX_RECURSIVE
- * MUTEX_TYPE_FAST (deprecated)
- * MUTEX_TYPE_COUNTING_FAST (deprecated)
*
* will deviate from POSIX specified semantics.
*/
@@ -130,12 +128,10 @@ enum pthread_mutextype {
PTHREAD_MUTEX_ERRORCHECK = 1, /* Default POSIX mutex */
PTHREAD_MUTEX_RECURSIVE = 2, /* Recursive mutex */
PTHREAD_MUTEX_NORMAL = 3, /* No error checking */
- MUTEX_TYPE_MAX
+ PTHREAD_MUTEX_TYPE_MAX
};
#define PTHREAD_MUTEX_DEFAULT PTHREAD_MUTEX_ERRORCHECK
-#define MUTEX_TYPE_FAST PTHREAD_MUTEX_NORMAL
-#define MUTEX_TYPE_COUNTING_FAST PTHREAD_MUTEX_RECURSIVE
/*
* Thread function prototype definitions: