Thomas Pfaff
00d296a3f9
* cygwin.din: Add pthread_rwlock_destroy, pthread_rwlock_init,
pthread_rwlock_rdlock, pthread_rwlock_tryrdlock,
pthread_rwlock_wrlock, pthread_rwlock_trywrlock,
pthread_rwlock_unlock, pthread_rwlockattr_init,
pthread_rwlockattr_getpshared, pthread_rwlockattr_setpshared,
and pthread_rwlockattr_destroy.
* include/cygwin/version.h: Bump API minor number.
* include/pthread.h (PTHREAD_RWLOCK_INITIALIZER): Define a
reasonable value.
Add prototypes for pthread_rwlock_destroy, pthread_rwlock_init,
pthread_rwlock_rdlock, pthread_rwlock_tryrdlock,
pthread_rwlock_wrlock, pthread_rwlock_trywrlock,
pthread_rwlock_unlock, pthread_rwlockattr_init,
pthread_rwlockattr_getpshared, pthread_rwlockattr_setpshared,
and pthread_rwlockattr_destroy.
* thread.h (PTHREAD_ONCE_MAGIC): Remove superflous semicolon.
(PTHREAD_RWLOCK_MAGIC): New define.
(PTHREAD_RWLOCKATTR_MAGIC): Ditto.
(pthread_rwlockattr): New class.
(pthread_rwlock): Ditto.
(MTinterface::rwlocks): New member.
(MTinterface::MTinterface): Initialize rwlocks.
Add prototypes for __pthread_rwlock_destroy,
__pthread_rwlock_wrlock, __pthread_rwlock_trywrlock,
__pthread_rwlock_unlock, __pthread_rwlockattr_init,
__pthread_rwlockattr_getpshared, __pthread_rwlockattr_setpshared,
and __pthread_rwlockattr_destroy.
* thread.cc (MTinterface::Init): Initialize rwlock internal mutex.
(MTinterface::fixup_after_fork): Fixup rwlocks after fork.
(pthread_rwlockattr::isGoodObject): Implement.
(pthread_rwlockattr::pthread_rwlockattr): Ditto.
(pthread_rwlockattr::~pthread_rwlockattr): Ditto.
(pthread_rwlock::initMutex): Ditto.
(pthread_rwlock::pthread_rwlock): Ditto.
(pthread_rwlock::~pthread_rwlock): Ditto.
(pthread_rwlock::RdLock): Ditto.
(pthread_rwlock::TryRdLock): Ditto.
(pthread_rwlock::WrLock): Ditto.
(pthread_rwlock::TryWrLock): Ditto.
(pthread_rwlock::UnLock): Ditto.
(pthread_rwlock::addReader): Ditto.
(pthread_rwlock::removeReader): Ditto.
(pthread_rwlock::lookupReader): Ditto.
(pthread_rwlock::RdLockCleanup): Ditto.
(pthread_rwlock::WrLockCleanup): Ditto.
(pthread_rwlock::fixup_after_fork): Ditto.
(pthread_rwlock::isGoodObject): Ditto.
(pthread_rwlock::isGoodInitializer): Ditto.
(pthread_rwlock::isGoodInitializerOrObject): Ditto.
(pthread_rwlock::isGoodInitializerOrBadObject): Ditto.
(__pthread_rwlock_destroy): Ditto.
(pthread_rwlock::init): Ditto.
(__pthread_rwlock_rdlock): Ditto.
(__pthread_rwlock_tryrdlock): Ditto.
(__pthread_rwlock_wrlock): Ditto.
(__pthread_rwlock_trywrlock): Ditto.
2003-03-18 20:01:07 +00:00
..
2003-03-18 20:01:07 +00:00
2003-03-03 04:30:09 +00:00
2002-01-17 10:39:37 +00:00
2002-09-30 02:51:22 +00:00
2001-12-20 03:03:59 +00:00
2002-09-19 15:12:48 +00:00
2003-03-13 22:53:16 +00:00
2003-03-18 20:01:07 +00:00
2001-10-28 23:05:49 +00:00
2001-10-28 23:05:49 +00:00
2001-10-28 23:05:49 +00:00
2002-01-01 16:49:52 +00:00
2003-01-10 12:32:49 +00:00
2003-01-25 10:36:46 +00:00
2001-12-20 02:55:11 +00:00
2003-01-24 03:53:46 +00:00
2002-12-04 20:36:23 +00:00
2001-10-22 21:09:41 +00:00
2003-01-18 03:26:07 +00:00
2003-01-17 05:18:30 +00:00
2002-08-27 04:10:54 +00:00
2003-02-22 23:02:15 +00:00
2002-09-22 12:04:15 +00:00
2002-09-22 12:04:15 +00:00
2002-09-22 12:04:15 +00:00
2002-09-30 15:17:44 +00:00
2003-03-09 21:51:00 +00:00
2002-09-30 18:31:56 +00:00
2002-09-22 12:04:15 +00:00
2002-09-22 12:04:15 +00:00
2002-09-22 12:04:15 +00:00
2003-02-27 15:09:31 +00:00
2002-12-14 04:01:32 +00:00
2001-10-12 01:51:21 +00:00
2003-03-18 20:01:07 +00:00
2002-06-23 18:55:23 +00:00
2003-03-01 02:02:42 +00:00
2002-10-21 01:00:58 +00:00
2002-08-06 03:40:40 +00:00
2002-09-23 00:31:31 +00:00
2003-02-13 15:15:32 +00:00
2002-09-23 00:31:31 +00:00
2003-02-01 05:00:15 +00:00
2003-03-02 18:37:17 +00:00
2002-11-14 04:29:39 +00:00
2001-10-03 03:49:26 +00:00
2003-03-02 18:37:17 +00:00
2003-03-02 18:37:17 +00:00
2003-02-13 15:15:32 +00:00
2002-06-29 02:36:08 +00:00
2002-09-24 14:17:50 +00:00
2003-02-14 02:52:29 +00:00
2002-10-21 01:00:58 +00:00
2003-03-08 17:56:13 +00:00
2003-03-09 20:10:25 +00:00
2002-12-14 04:01:32 +00:00
2003-03-17 19:08:11 +00:00
2003-03-09 20:31:07 +00:00
2003-01-15 10:21:23 +00:00
2003-01-26 06:42:40 +00:00
2003-02-04 03:01:17 +00:00
2003-03-18 09:30:03 +00:00
2003-03-08 17:56:13 +00:00
2002-12-14 04:01:32 +00:00
2002-12-14 04:01:32 +00:00
2003-02-04 03:01:17 +00:00
2003-03-09 20:31:07 +00:00
2003-03-11 16:49:58 +00:00
2002-09-30 04:35:18 +00:00
2003-02-13 02:52:41 +00:00
2003-03-13 08:18:15 +00:00
2003-03-09 20:31:07 +00:00
2003-02-04 03:01:17 +00:00
2002-12-14 04:01:32 +00:00
2003-02-21 04:33:53 +00:00
2003-03-08 16:44:25 +00:00
2002-10-22 20:16:31 +00:00
2003-03-17 20:44:10 +00:00
2002-05-24 14:24:33 +00:00
2003-02-18 10:09:37 +00:00
2003-02-07 04:13:41 +00:00
2002-10-22 16:18:55 +00:00
2002-09-30 02:51:22 +00:00
2002-12-12 03:09:38 +00:00
2001-10-28 23:05:49 +00:00
2002-05-04 04:30:57 +00:00
2002-08-03 23:34:01 +00:00
2002-02-11 02:25:42 +00:00
2002-07-13 21:15:10 +00:00
2001-09-24 21:50:44 +00:00
2002-11-24 13:54:14 +00:00
2002-11-14 02:15:23 +00:00
2002-09-23 00:31:31 +00:00
2002-12-20 03:40:00 +00:00
2003-03-09 21:51:00 +00:00
2003-02-22 23:02:15 +00:00
2003-02-08 17:03:34 +00:00
2003-01-10 12:32:49 +00:00
2002-01-13 20:03:03 +00:00
2003-03-09 20:31:07 +00:00
2002-09-22 12:04:15 +00:00
2003-03-13 11:31:24 +00:00
2002-12-14 16:59:59 +00:00
2001-12-20 02:55:11 +00:00
2003-03-09 20:31:07 +00:00
2003-03-09 20:10:25 +00:00
2003-02-06 14:01:54 +00:00
2003-03-09 20:31:07 +00:00
2003-03-08 03:36:39 +00:00
2003-02-04 03:01:17 +00:00
2003-03-08 19:22:08 +00:00
2003-03-08 17:56:13 +00:00
2003-02-07 06:15:10 +00:00
2003-03-09 20:10:25 +00:00
2002-12-09 22:49:12 +00:00
2003-03-18 20:01:07 +00:00
2003-03-09 20:31:07 +00:00
2002-06-05 04:01:43 +00:00
2002-10-07 20:06:16 +00:00
2003-03-09 17:13:46 +00:00
2002-09-22 12:04:15 +00:00
2001-09-19 15:54:12 +00:00
2002-11-13 19:36:12 +00:00
2003-03-10 16:25:48 +00:00
2003-03-09 20:31:07 +00:00
2003-03-10 16:25:48 +00:00
2003-03-09 20:31:07 +00:00
2003-03-09 20:10:25 +00:00
2002-09-22 12:04:15 +00:00
2002-10-22 16:18:55 +00:00
2003-01-31 15:02:40 +00:00
2003-03-09 21:51:00 +00:00
2003-01-22 10:43:39 +00:00
2003-03-17 19:08:11 +00:00
2002-11-22 04:43:47 +00:00
2002-06-13 17:28:11 +00:00
2003-02-13 02:52:41 +00:00
2002-01-24 21:39:09 +00:00
2002-04-04 05:28:49 +00:00
2003-02-04 03:01:17 +00:00
2003-03-09 20:31:07 +00:00
2003-03-09 20:10:25 +00:00
2002-06-05 04:01:43 +00:00
2002-08-16 19:41:39 +00:00
2003-03-17 19:08:11 +00:00
2003-01-10 12:32:49 +00:00
2003-03-09 20:10:25 +00:00
2003-02-01 04:48:03 +00:00
2003-03-18 20:01:07 +00:00
2003-03-18 20:01:07 +00:00
2002-09-22 12:04:15 +00:00
2002-09-22 12:04:15 +00:00
2002-10-21 01:00:58 +00:00
2003-03-09 20:10:25 +00:00
2002-03-05 18:03:32 +00:00
2003-02-27 17:41:15 +00:00
2003-01-15 10:21:23 +00:00
2003-03-09 20:10:25 +00:00
2002-12-14 05:06:59 +00:00
2003-02-20 15:58:55 +00:00
2003-02-20 15:58:55 +00:00
2003-01-10 12:32:49 +00:00
2003-03-09 21:51:00 +00:00
2003-03-09 22:13:06 +00:00
2002-09-22 12:04:15 +00:00
2002-02-09 10:40:48 +00:00