Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2003-04-10 09:27:34 +0400
committerChristopher Faylor <me@cgf.cx>2003-04-10 09:27:34 +0400
commite5d6d5359038c83580f8a239d7cf2b9c3a85559d (patch)
treee02b6825f92cec4e3c10c0677dabf93d1bd423d6 /winsup/cygwin/cygthread.h
parent57efd527df09df6b82734afb33861a1d4ddab3cd (diff)
* cygthread.h: Change 'avail' cygthread element to 'inuse' throughout.
* cygthread.cc: Ditto. (cygthread::stub): Don't initialize already initialized events. (cygthread::freerange): Don't create thread here. (cygthread::cygthread): Create thread here. Die if thread not created. (cygthread::operator new): Simplify. Just grab a thread structure from the pool. Don't try to start the thread. (cygthread::terminate_thread): Don't close event handles. Just reuse them. Call MEM_RELEASE rather than MEM_DECOMMIT (from Joe Buehler).
Diffstat (limited to 'winsup/cygwin/cygthread.h')
-rw-r--r--winsup/cygwin/cygthread.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/cygthread.h b/winsup/cygwin/cygthread.h
index 3226f2a02..7af3f3183 100644
--- a/winsup/cygwin/cygthread.h
+++ b/winsup/cygwin/cygthread.h
@@ -8,7 +8,7 @@ details. */
class cygthread
{
- LONG avail; /* 1: available, 0: ininitialized, -1: not available */
+ LONG inuse;
DWORD id;
HANDLE h;
HANDLE ev;