Corinna Vinschen
f00fe1b8e7
* 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.
2011-03-29 10:32:40 +00:00
..
2004-03-26 21:17:07 +00:00
2010-09-12 19:43:55 +00:00
2010-04-28 10:00:24 +00:00
2001-09-11 20:01:02 +00:00
2009-08-13 07:35:50 +00:00
2003-03-30 17:28:52 +00:00
2002-05-28 14:58:13 +00:00
2002-11-07 14:16:29 +00:00
2000-02-17 19:38:33 +00:00
2007-06-20 09:28:47 +00:00
2007-01-18 10:25:40 +00:00
2000-06-07 11:48:03 +00:00
2007-06-14 16:02:32 +00:00
2004-06-08 10:53:40 +00:00
2006-07-03 15:29:10 +00:00
2003-11-19 18:50:23 +00:00
2004-04-19 19:41:13 +00:00
2001-03-05 21:29:24 +00:00
2003-11-19 18:50:23 +00:00
2003-11-19 18:50:23 +00:00
2010-02-26 05:43:50 +00:00
2010-01-15 15:40:05 +00:00
2000-02-17 19:38:33 +00:00
2010-02-26 09:36:21 +00:00
2009-09-25 23:55:00 +00:00
2005-11-18 16:08:33 +00:00
2005-05-02 03:50:11 +00:00
2007-12-03 11:34:59 +00:00
2011-03-29 10:32:40 +00:00
2004-12-15 17:29:01 +00:00
2011-03-29 10:32:40 +00:00
2009-07-18 20:25:07 +00:00