diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2009-01-20 12:40:31 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2009-01-20 12:40:31 +0000 |
commit | f8190b57056cc10ec0da28b0685ec6fe59b1e4cb (patch) | |
tree | 5a4289b8199ac2262c411f0f08f3941f37ca5feb /winsup/cygwin/fhandler_process.cc | |
parent | 3787b37ef2c8a86a1c67ccef6dde3df568ed5ae9 (diff) | |
download | cygnal-f8190b57056cc10ec0da28b0685ec6fe59b1e4cb.tar.gz cygnal-f8190b57056cc10ec0da28b0685ec6fe59b1e4cb.tar.bz2 cygnal-f8190b57056cc10ec0da28b0685ec6fe59b1e4cb.zip |
* thread.h (struct pthread_rwlock::RWLOCK_READER): Add counter n.
* thread.cc (pthread_rwlock::rdlock): If a thread already owns a
read lock, just count the number of locks for it, per SUSv4.
(pthread_rwlock::tryrdlock): Ditto.
(pthread_rwlock::unlock): If a thread has more than one concurrent
read locks, just count down.
Diffstat (limited to 'winsup/cygwin/fhandler_process.cc')
0 files changed, 0 insertions, 0 deletions