* cygthread.cc (cygthread::cygthread): Guard debugging variable with "ifdef
DEBUGGING". (cygthread::release): Ditto.
This commit is contained in:
parent
aad93aea3e
commit
7a2ba9dbec
|
@ -1,3 +1,9 @@
|
|||
2004-12-23 Christopher Faylor <cgf@timesys.com>
|
||||
|
||||
* cygthread.cc (cygthread::cygthread): Guard debugging variable with
|
||||
"ifdef DEBUGGING".
|
||||
(cygthread::release): Ditto.
|
||||
|
||||
2004-12-23 Christopher Faylor <cgf@timesys.com>
|
||||
Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
|
|
|
@ -180,7 +180,9 @@ cygthread::cygthread (LPTHREAD_START_ROUTINE start, LPVOID param,
|
|||
if (!h)
|
||||
api_fatal ("thread handle not set - %p<%p>, %E", h, id);
|
||||
thread_printf ("created thread %p", h);
|
||||
#ifdef DEBUGGING
|
||||
terminated = false;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -236,7 +238,9 @@ cygthread::release (bool nuke_h)
|
|||
{
|
||||
if (nuke_h)
|
||||
h = NULL;
|
||||
#ifdef DEBUGGING
|
||||
__oldname = __name;
|
||||
#endif
|
||||
__name = NULL;
|
||||
stack_ptr = NULL;
|
||||
func = NULL;
|
||||
|
|
Loading…
Reference in New Issue