diff options
author | Thomas Pfaff <tpfaff@gmx.net> | 2003-12-01 22:10:57 +0000 |
---|---|---|
committer | Thomas Pfaff <tpfaff@gmx.net> | 2003-12-01 22:10:57 +0000 |
commit | 94d2416049fd158471da45380df829ffce203671 (patch) | |
tree | 21c164059860c586b4a8a72c8d0ecf42f6d40695 /winsup/cygwin/autoload.cc | |
parent | bd16a3a8a8a1b0f2971e6bac6c896320f02208c2 (diff) | |
download | cygnal-94d2416049fd158471da45380df829ffce203671.tar.gz cygnal-94d2416049fd158471da45380df829ffce203671.tar.bz2 cygnal-94d2416049fd158471da45380df829ffce203671.zip |
* 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.
Diffstat (limited to 'winsup/cygwin/autoload.cc')
0 files changed, 0 insertions, 0 deletions