summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/autoload.cc
diff options
context:
space:
mode:
authorThomas Pfaff <tpfaff@gmx.net>2003-12-01 22:10:57 +0000
committerThomas Pfaff <tpfaff@gmx.net>2003-12-01 22:10:57 +0000
commit94d2416049fd158471da45380df829ffce203671 (patch)
tree21c164059860c586b4a8a72c8d0ecf42f6d40695 /winsup/cygwin/autoload.cc
parentbd16a3a8a8a1b0f2971e6bac6c896320f02208c2 (diff)
downloadcygnal-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