]> sourceware.org Git - newlib-cygwin.git/commit
* thread.cc (pthread_rwlock::add_reader): Remove mx parameter for
authorThomas Pfaff <tpfaff@gmx.net>
Mon, 1 Dec 2003 22:10:57 +0000 (22:10 +0000)
committerThomas Pfaff <tpfaff@gmx.net>
Mon, 1 Dec 2003 22:10:57 +0000 (22:10 +0000)
commit94d2416049fd158471da45380df829ffce203671
tree21c164059860c586b4a8a72c8d0ecf42f6d40695
parentbd16a3a8a8a1b0f2971e6bac6c896320f02208c2
* 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
This page took 0.100079 seconds and 5 git commands to generate.