diff options
author | Christopher Faylor <me@cgf.cx> | 2013-01-07 19:34:44 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2013-01-07 19:34:44 +0000 |
commit | 98f16610ca0e56d63679b8a2c079e9d8761649cb (patch) | |
tree | 418ead307f33fb824a15f3341bfc6ed984ba62a8 /newlib/libc/sys/linux/linuxthreads/unload.c | |
parent | d5446858b5e2324f8b8e3d4ebc2e0ecc7a417d77 (diff) | |
download | cygnal-98f16610ca0e56d63679b8a2c079e9d8761649cb.tar.gz cygnal-98f16610ca0e56d63679b8a2c079e9d8761649cb.tar.bz2 cygnal-98f16610ca0e56d63679b8a2c079e9d8761649cb.zip |
* thread.cc (pthread_rwlock::lookup_reader): Remove parameter: always assume
that we're looking for the current thread.
(pthread_rwlock::tryrdlock): Eliminate self variable. Accommodate change in
lookup_reader().
(pthread_rwlock::unlock): Ditto.
(pthread_rwlock::rdlock): Ditto. Move add_reader call after writer tests to
more closely mimic old behavior.
(pthread_rwlock::wrlock): Accommodate change in lookup_reader().
* thread.h ((pthread_rwlock::lookup_reader): Eliminate argument.
Diffstat (limited to 'newlib/libc/sys/linux/linuxthreads/unload.c')
0 files changed, 0 insertions, 0 deletions