]> sourceware.org Git - newlib-cygwin.git/commit
* cygthread.h (cygthread::avail): Make LONG for easier use with Interlocked*
authorChristopher Faylor <me@cgf.cx>
Fri, 4 Apr 2003 18:52:11 +0000 (18:52 +0000)
committerChristopher Faylor <me@cgf.cx>
Fri, 4 Apr 2003 18:52:11 +0000 (18:52 +0000)
commit9dbe3289ee6f6bb1e2bc92c420aa949d5ea3c3c2
tree0fa44485c38e6122ab9295876049a347116dd2e4
parent5557a0daced5ce6ddea6f1ea856f77ce222ffe35
* cygthread.h (cygthread::avail): Make LONG for easier use with Interlocked*
functions.
* cygthread.cc (cygthread::init): Eliminate unneeded muto.
(cygthread::operator new): Don't lock.  Instead change use of avail variable
into tri-state: available (1), not available (-1), uninitialized (0).
(cygthread::terminate_thread): Set avail to uninitialized.
(cygthread::detach): Eliminate local 'avail'.  Always set avail to 1 unless
signalled.
* cygthread.cc (cygthread::operator new): Be more defensive when messing with
winsup/cygwin/ChangeLog
winsup/cygwin/cygthread.cc
winsup/cygwin/cygthread.h
This page took 0.026594 seconds and 5 git commands to generate.