OSDN Git Service

* thread.cc (pthread_rwlock::add_reader): Remove mx parameter for
authortpfaff <tpfaff>
Mon, 1 Dec 2003 22:10:57 +0000 (22:10 +0000)
committertpfaff <tpfaff>
Mon, 1 Dec 2003 22:10:57 +0000 (22:10 +0000)
commita19ba97040be7365630b0f0732a5bca7cc2f106b
tree09e765280ed022a10aa374a4bd0912ace3befed2
parent311d26301f2b48e4e53245fad7a46176611a70b1
* thread.cc (pthread_rwlock::add_reader): Remove mx parameter for
List_insert call.
(pthread::prepare): Ensure race safeness when adding function
pointers to atfork lists by using List_insert.
* thread.h (List_insert): Use InterlockedCompareExchangePointer to
ensure race safeness without using a mutex.
(List_remove): Use InterlockedCompareExchangePointer to
ensure race safeness with List_insert.
(List::insert): Remove mx parameter for List_insert call.
winsup/cygwin/ChangeLog
winsup/cygwin/thread.cc
winsup/cygwin/thread.h