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
..
2011-02-11 12:42:30 +00:00
2011-02-11 12:42:30 +00:00
2008-02-11 19:03:36 +00:00
2011-02-11 12:42:30 +00:00
2011-03-29 10:32:40 +00:00
2005-06-01 18:24:31 +00:00
2011-02-11 12:42:30 +00:00
2011-03-29 08:03:35 +00:00
2005-07-26 00:55:42 +00:00
2010-08-09 07:48:24 +00:00
2005-08-08 15:00:39 +00:00
2011-02-11 12:42:30 +00:00
2011-02-02 15:14:46 +00:00
2005-12-03 05:01:51 +00:00
2010-01-13 16:51:37 +00:00
2011-01-27 11:55:51 +00:00
2010-09-11 06:53:28 +00:00
2002-02-28 14:30:38 +00:00
2010-02-26 09:36:21 +00:00
2010-02-26 09:36:21 +00:00
2006-01-09 12:41:54 +00:00
2008-12-31 21:33:34 +00:00
2007-06-21 15:57:54 +00:00
2010-05-26 13:37:48 +00:00
2005-02-22 19:45:41 +00:00
2009-08-11 07:28:22 +00:00
2010-02-02 11:17:54 +00:00
2010-01-22 22:31:31 +00:00
2007-02-15 17:49:25 +00:00
2009-04-02 08:48:03 +00:00
2010-11-02 17:38:36 +00:00
2011-03-29 10:32:40 +00:00
2009-12-26 06:20:56 +00:00
2010-04-27 15:18:14 +00:00
2008-12-09 16:09:46 +00:00
2007-06-17 00:31:27 +00:00
2007-02-20 15:48:04 +00:00
2009-04-13 22:55:00 +00:00
2003-12-01 10:39:17 +00:00
2006-02-02 22:46:37 +00:00
2008-04-24 08:46:41 +00:00