newlib/winsup/cygwin/include/cygwin
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
..
acl.h * include/cygwin/acl.h: Fix definition of aclent_t. 2002-02-12 21:21:32 +00:00
core_dump.h Update copyrights. 2001-09-11 20:01:02 +00:00
cygserver.h 2002-09-22 Conrad Scott <conrad.scott@dsl.pipex.com> 2002-09-22 12:04:15 +00:00
cygserver_process.h 2002-09-22 Conrad Scott <conrad.scott@dsl.pipex.com> 2002-09-22 12:04:15 +00:00
cygserver_transport.h 2002-09-22 Conrad Scott <conrad.scott@dsl.pipex.com> 2002-09-22 12:04:15 +00:00
cygserver_transport_pipes.h 2002-09-22 Conrad Scott <conrad.scott@dsl.pipex.com> 2002-09-22 12:04:15 +00:00
cygserver_transport_sockets.h 2002-09-22 Conrad Scott <conrad.scott@dsl.pipex.com> 2002-09-22 12:04:15 +00:00
cygwin_dll.h Update copyrights. 2001-09-11 20:01:02 +00:00
fs.h * include/cygwin/fs.h: New file. 2002-11-07 14:16:29 +00:00
grp.h * security.cc (set_security_attribute): Call getegid32() instead of 2002-05-28 14:58:13 +00:00
hdreg.h * include/cygwin/fs.h: New file. 2002-11-07 14:16:29 +00:00
icmp.h import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
if.h Eliminate excess whitespace. 2001-11-05 06:09:15 +00:00
in.h oops. 2003-02-13 15:16:33 +00:00
in_systm.h * include/netinet/in_systm.h: New file. 2000-06-07 11:48:03 +00:00
ipc.h 2002-09-22 Conrad Scott <conrad.scott@dsl.pipex.com> 2002-09-22 12:04:15 +00:00
msg.h 2002-09-22 Conrad Scott <conrad.scott@dsl.pipex.com> 2002-09-22 12:04:15 +00:00
mtio.h * fhandler_tape.cc (fhandler_dev_tape::tape_status): Report 2001-10-16 16:28:39 +00:00
rdevio.h * include/a.out.h: Add copyright hint. 2001-03-05 21:29:24 +00:00
sem.h 2002-09-22 Conrad Scott <conrad.scott@dsl.pipex.com> 2002-09-22 12:04:15 +00:00
shm.h 2002-09-22 Conrad Scott <conrad.scott@dsl.pipex.com> 2002-09-22 12:04:15 +00:00
socket.h * include/cygwin/socket.h: Set SOMAXCONN to Winsock2 value. 2003-03-09 16:05:54 +00:00
sockios.h import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
stat.h whitespace 2002-12-12 03:09:38 +00:00
types.h * include/cygwin/types.h: Use correct ifdef guard for u_ definitions. 2003-02-13 15:37:07 +00:00
uio.h import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00
version.h * cygwin.din: Add pthread_rwlock_destroy, pthread_rwlock_init, 2003-03-18 20:01:07 +00:00