diff options
author | kurt <> | 2007-11-19 02:54:19 +0000 |
---|---|---|
committer | kurt <> | 2007-11-19 02:54:19 +0000 |
commit | 82238b8a1552ad2206b7677e25095266b6f52a0f (patch) | |
tree | 74a7f274bede442e2049bf88cca515b42b06c787 | |
parent | 61e90ee833f583b0932208a5aaeceb84df12b72c (diff) | |
download | openbsd-82238b8a1552ad2206b7677e25095266b6f52a0f.tar.gz openbsd-82238b8a1552ad2206b7677e25095266b6f52a0f.tar.bz2 openbsd-82238b8a1552ad2206b7677e25095266b6f52a0f.zip |
fix misleading comment; the _MUTEX_LOCK/_MUTEX_UNLOCK macros work with
both static and non-static mutexs.
-rw-r--r-- | src/lib/libc/include/thread_private.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libc/include/thread_private.h b/src/lib/libc/include/thread_private.h index a365c25e66..146f0b0a01 100644 --- a/src/lib/libc/include/thread_private.h +++ b/src/lib/libc/include/thread_private.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: thread_private.h,v 1.20 2007/06/05 18:11:48 kurt Exp $ */ | 1 | /* $OpenBSD: thread_private.h,v 1.21 2007/11/19 02:54:19 kurt Exp $ */ |
2 | 2 | ||
3 | /* PUBLIC DOMAIN: No Rights Reserved. Marco S Hyman <marc@snafu.org> */ | 3 | /* PUBLIC DOMAIN: No Rights Reserved. Marco S Hyman <marc@snafu.org> */ |
4 | 4 | ||
@@ -93,7 +93,7 @@ void _thread_mutex_destroy(void **); | |||
93 | sizeof (storage), error) | 93 | sizeof (storage), error) |
94 | 94 | ||
95 | /* | 95 | /* |
96 | * Macros used in libc to access non-static mutexes. | 96 | * Macros used in libc to access mutexes. |
97 | */ | 97 | */ |
98 | #define _MUTEX_LOCK(mutex) \ | 98 | #define _MUTEX_LOCK(mutex) \ |
99 | do { \ | 99 | do { \ |