diff options
author | Robert Collins <rbtcollins@hotmail.com> | 2002-10-17 08:44:18 +0000 |
---|---|---|
committer | Robert Collins <rbtcollins@hotmail.com> | 2002-10-17 08:44:18 +0000 |
commit | e9350b6575f296f1e46a867480112300498b467b (patch) | |
tree | 802a101a5cf9d2e2be1a95d61e3c54b2db4086c9 /winsup/cygwin/thread.h | |
parent | 841cf30bc32103486acd84d5407782f64dd9d6b3 (diff) | |
download | newlib-e9350b6575f296f1e46a867480112300498b467b.zip newlib-e9350b6575f296f1e46a867480112300498b467b.tar.gz newlib-e9350b6575f296f1e46a867480112300498b467b.tar.bz2 |
2002-10-17 Robert Collins <rbtcollins@hotmail.com>
* thread.h (pthread_mutex::isGoodInitializerOrBadObject): Declare.
* thread.cc (pthread_mutex::isGoodInitializerOrBadObject): Implement.
(pthread_mutex::init): Use isGoodInitializerOrBadObject to avoid
unneeded SEGV's during debugging.
Diffstat (limited to 'winsup/cygwin/thread.h')
-rw-r--r-- | winsup/cygwin/thread.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/winsup/cygwin/thread.h b/winsup/cygwin/thread.h index c23e5a0..73e57ed 100644 --- a/winsup/cygwin/thread.h +++ b/winsup/cygwin/thread.h @@ -291,6 +291,7 @@ public: static bool isGoodObject(pthread_mutex_t const *); static bool isGoodInitializer(pthread_mutex_t const *); static bool isGoodInitializerOrObject(pthread_mutex_t const *); + static bool isGoodInitializerOrBadObject (pthread_mutex_t const *mutex); static void initMutex (); static int init (pthread_mutex_t *, const pthread_mutexattr_t *); |