This is the mail archive of the
cygwin-cvs@cygwin.com
mailing list for the Cygwin project.
src/winsup/cygwin ChangeLog cygthread.cc cygth ...
- From: cgf at cygwin dot com
- To: cygwin-cvs at cygwin dot com
- Date: 4 Apr 2003 18:52:12 -0000
- Subject: src/winsup/cygwin ChangeLog cygthread.cc cygth ...
CVSROOT: /cvs/src
Module name: src
Changes by: cgf at sourceware dot org 2003-04-04 18:52:12
Modified files:
winsup/cygwin : ChangeLog cygthread.cc cygthread.h
Log message:
* 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
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.1855&r2=1.1856
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/cygthread.cc.diff?cvsroot=src&r1=1.29&r2=1.30
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/cygthread.h.diff?cvsroot=src&r1=1.10&r2=1.11