From 6bb8791f8021bc17aab97ec8c0b26bd70ebe48b1 Mon Sep 17 00:00:00 2001 From: cgf Date: Fri, 5 Mar 2004 19:09:03 +0000 Subject: [PATCH] * gendef (sigdelayed): Handle return here rather than going through sigbe to ensure that flags are properly restored. --- winsup/cygwin/ChangeLog | 58 +++++++++++------------ winsup/cygwin/gendef | 123 ++++++++++++++++++++++++++---------------------- 2 files changed, 96 insertions(+), 85 deletions(-) diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index e403dd6b49..31876aec9c 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,41 +1,41 @@ +2004-03-05 Christopher Faylor + + * gendef (sigdelayed): Handle return here rather than going through + sigbe to ensure that flags are properly restored. + 2004-03-04 Thomas Pfaff - * include/pthread.h (PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP): - New define. + * include/pthread.h (PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP): New + define. (PTHREAD_NORMAL_MUTEX_INITIALIZER_NP): Ditto. (PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP): Ditto. - * thread.cc (pthread_mutex::is_good_initializer): - Check for all posssible initializers + * thread.cc (pthread_mutex::is_good_initializer): Check for all + posssible initializers (pthread_mutex::is_good_initializer_or_object): Ditto. (pthread_mutex::is_good_initializer_or_bad_object): Ditto. - (verifyable_object_isvalid): Support up to three static - initializers. + (verifyable_object_isvalid): Support up to three static initializers. (verifyable_object_isvalid (void const *,long)): Remove. - (pthread_cond::is_good_initializer_or_bad_object): Remove - unneeded objectState var. - (pthread_cond::init): Condition remains unchanged when creation - has failed. - (pthread_rwlock::is_good_initializer_or_bad_object): Remove - unneeded objectState var. - (pthread_rwlock::init): Rwlock remains unchanged when creation - has failed. - (pthread_mutex::init): Remove obsolete comment. - Mutex remains unchanged when creation has failed. Add support - for new initializers. - (pthread_mutex_getprioceiling): Do not create mutex, - just return ENOSYS. + (pthread_cond::is_good_initializer_or_bad_object): Remove unneeded + objectState var. + (pthread_cond::init): Condition remains unchanged when creation has + failed. + (pthread_rwlock::is_good_initializer_or_bad_object): Remove unneeded + objectState var. + (pthread_rwlock::init): Rwlock remains unchanged when creation has + failed. + (pthread_mutex::init): Remove obsolete comment. Mutex remains + unchanged when creation has failed. Add support for new initializers. + (pthread_mutex_getprioceiling): Do not create mutex, just return + ENOSYS. (pthread_mutex_lock): Simplify. (pthread_mutex_trylock): Remove unneeded local themutex. - (pthread_mutex_unlock): Just return EPERM if mutex is not - initialized. - (pthread_mutex_setprioceiling): Do not create mutex, - just return ENOSYS. - * thread.h (verifyable_object_isvalid): Support up to three - static initializers. - (verifyable_object_isvalid (void const *,long)): Remove - prototype. - (pthread_mutex::init): Add optional initializer to parameter - list. + (pthread_mutex_unlock): Just return EPERM if mutex is not initialized. + (pthread_mutex_setprioceiling): Do not create mutex, just return + ENOSYS. + * thread.h (verifyable_object_isvalid): Support up to three static + initializers. + (verifyable_object_isvalid (void const *,long)): Remove prototype. + (pthread_mutex::init): Add optional initializer to parameter list. 2004-03-03 Christopher Faylor diff --git a/winsup/cygwin/gendef b/winsup/cygwin/gendef index 141a4e77ef..a208cbe31c 100755 --- a/winsup/cygwin/gendef +++ b/winsup/cygwin/gendef @@ -87,7 +87,7 @@ EOF $res = <