newlib/winsup/cygwin/include
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
..
arpa * include/cygwin/in.h (in_attr_t): Define new type. 2003-02-10 22:43:29 +00:00
asm
cygwin * cygwin.din: Add pthread_rwlock_destroy, pthread_rwlock_init, 2003-03-18 20:01:07 +00:00
net
netinet * include/cygwin/socket.h: Protect some symbols against multiple 2002-05-29 07:38:54 +00:00
sys Switch to 32/64 datatypes: 2003-03-09 21:51:00 +00:00
a.out.h
dlfcn.h Update copyrights. 2001-09-11 20:01:02 +00:00
exceptions.h
fcntl.h
features.h
fnmatch.h 2002-02-28 Robert Collins <rbtcollins@hotmail.com> 2002-02-28 14:30:38 +00:00
getopt.h * include/getopt.h: Fix define. 2001-12-31 04:00:07 +00:00
glob.h * glob.c (stat32_to_STAT): New function. 2002-03-15 10:12:31 +00:00
icmp.h
io.h * include/io.h: Add access declaration. 2001-09-17 21:29:19 +00:00
lastlog.h
limits.h * include/limits.h: Define LLONG_MIN, LLONG_MAX, ULLONG_MAX. 2001-12-17 01:41:07 +00:00
mapi.h Update copyrights. 2001-09-11 20:01:02 +00:00
memory.h
mntent.h
netdb.h revert erroneous checkin 2002-06-10 19:59:19 +00:00
paths.h
poll.h
pthread.h * cygwin.din: Add pthread_rwlock_destroy, pthread_rwlock_init, 2003-03-18 20:01:07 +00:00
sched.h
semaphore.h Split ChangeLog, create ChangeLog-2002. 2003-01-10 12:32:49 +00:00
strings.h
sysexits.h
syslog.h
termio.h
tzfile.h