4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-01-28 18:10:23 +08:00
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-15 15:56:03 +00:00
2011-02-02 15:17:14 +00:00
2009-01-21 17:14:39 +00:00
2010-08-30 01:57:37 +00:00
2010-08-30 01:57:37 +00:00
2009-09-22 02:49:15 +00:00
2009-09-22 02:49:15 +00:00
2010-01-01 19:28:15 +00:00
2009-01-21 17:14:39 +00:00
2011-02-15 15:56:03 +00:00
2010-04-20 03:45:27 +00:00
2009-08-01 19:52:46 +00:00
2011-02-15 15:56:03 +00:00
2009-10-31 13:24:06 +00:00
2009-07-07 20:12:44 +00:00
2010-03-03 15:05:19 +00:00
2010-03-03 15:05:19 +00:00
2010-02-02 02:00:01 +00:00
2010-01-14 18:46:02 +00:00
2011-01-20 11:09:21 +00:00
2010-01-14 18:46:02 +00:00
2010-01-14 18:46:02 +00:00
2010-01-14 18:46:02 +00:00
2010-08-30 01:57:37 +00:00
2011-02-15 15:56:03 +00:00
2010-02-22 11:01:46 +00:00
2010-09-28 14:49:31 +00:00
2010-07-19 18:22:40 +00:00
2010-04-10 05:47:54 +00:00
2009-01-21 17:14:39 +00:00
2011-03-29 10:25:20 +00:00
2010-09-28 14:49:31 +00:00
2011-01-20 11:09:21 +00:00
2010-08-30 01:57:37 +00:00
2009-01-21 17:14:39 +00:00
2009-01-21 17:14:39 +00:00
2010-09-28 14:49:31 +00:00
2010-03-13 19:34:35 +00:00
2011-02-22 09:17:57 +00:00
2011-02-15 15:56:03 +00:00
2010-08-30 01:57:37 +00:00
2010-08-30 01:57:37 +00:00
2010-02-28 15:54:25 +00:00
2010-06-21 19:55:12 +00:00
2010-09-28 14:49:31 +00:00
2009-08-01 19:52:46 +00:00
2011-01-20 11:09:21 +00:00
2010-08-30 02:09:30 +00:00
2011-02-22 09:17:57 +00:00
2011-03-16 21:10:51 +00:00