diff options
author | Thomas Pfaff <tpfaff@gmx.net> | 2004-03-04 21:04:14 +0000 |
---|---|---|
committer | Thomas Pfaff <tpfaff@gmx.net> | 2004-03-04 21:04:14 +0000 |
commit | b95ae5046127940693f0a819dcedb08e383011da (patch) | |
tree | 520e6b71eecdc8a4b27dd1af03987ba363fbef2e /winsup/cygwin/ChangeLog | |
parent | 08b0a057eb40204cd187e898b272b09eaec47391 (diff) | |
download | newlib-b95ae5046127940693f0a819dcedb08e383011da.zip newlib-b95ae5046127940693f0a819dcedb08e383011da.tar.gz newlib-b95ae5046127940693f0a819dcedb08e383011da.tar.bz2 |
* 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
(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 (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_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.
Diffstat (limited to 'winsup/cygwin/ChangeLog')
-rw-r--r-- | winsup/cygwin/ChangeLog | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 3bb4821..e403dd6 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,42 @@ +2004-03-04 Thomas Pfaff <tpfaff@gmx.net> + + * 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 + (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 (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_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. + 2004-03-03 Christopher Faylor <cgf@redhat.com> * gendef (sigreturn): Call stabilize_sig_stack to ensure that there are |