]> sourceware.org Git - newlib-cygwin.git/commit - winsup/cygwin/cygwin.din
* cygwin.din (pthread_spin_destroy): Export.
authorCorinna Vinschen <corinna@vinschen.de>
Tue, 29 Mar 2011 10:32:40 +0000 (10:32 +0000)
committerCorinna Vinschen <corinna@vinschen.de>
Tue, 29 Mar 2011 10:32:40 +0000 (10:32 +0000)
commitf00fe1b8e7bf295a0ca87ac472ead52f50037c09
treef1d4a471ad96ee75a652778d692ab6360cd7dc22
parenta011f952168ce0219b64c6f0a9dc6a01f86e77c6
* cygwin.din (pthread_spin_destroy): Export.
(pthread_spin_init): Export.
(pthread_spin_lock): Export.
(pthread_spin_trylock): Export.
(pthread_spin_unlock): Export.
* posix.sgml (std-susv4): Add pthread_spin_destroy, pthread_spin_init,
pthread_spin_lock, pthread_spin_trylock, pthread_spin_unlock.
(std-notimpl): Remove pthread_spin_[...].
* pthread.cc (pthread_spin_init): New function.
* thread.cc (pthread_spinlock::is_good_object): New function.
(pthread_mutex::pthread_mutex): Rearrange initializers to accommodate
protected data in pthread_mutex.
(pthread_spinlock::pthread_spinlock): New constructor.
(pthread_spinlock::lock): New method.
(pthread_spinlock::unlock): New method.
(pthread_spinlock::init): New method.
(pthread_spin_lock): New function.
(pthread_spin_trylock): New function.
(pthread_spin_unlock): New function.
(pthread_spin_destroy): New function.
* thread.h (PTHREAD_SPINLOCK_MAGIC): Define.
(class pthread_mutex): Change access level of members shared with
derived classes to protected.
(pthread_mutex::set_shared): New protected method.
(class pthread_spinlock): New class, derived class of pthread_mutex.
* include/pthread.h (pthread_spin_destroy): Declare.
(pthread_spin_init): Declare.
(pthread_spin_lock): Declare.
(pthread_spin_trylock): Declare.
(pthread_spin_unlock): Declare.
* include/cygwin/types.h (pthread_spinlock_t): New typedef.
* include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.
winsup/cygwin/ChangeLog
winsup/cygwin/cygwin.din
winsup/cygwin/include/cygwin/types.h
winsup/cygwin/include/cygwin/version.h
winsup/cygwin/include/pthread.h
winsup/cygwin/posix.sgml
winsup/cygwin/pthread.cc
winsup/cygwin/thread.cc
winsup/cygwin/thread.h
This page took 0.035256 seconds and 5 git commands to generate.