* pinfo.cc (pinfo::exit): Eliminate use of _my_tls.thread_handle.
This commit is contained in:
parent
e009e2f51d
commit
08c7ea264b
|
@ -1,3 +1,7 @@
|
|||
2005-09-23 Christopher Faylor <cgf@timesys.com>
|
||||
|
||||
* pinfo.cc (pinfo::exit): Eliminate use of _my_tls.thread_handle.
|
||||
|
||||
2005-09-23 Christopher Faylor <cgf@timesys.com>
|
||||
|
||||
* cygtls.h (struct _cygtls::thread_handle): Remove/revert.
|
||||
|
|
|
@ -170,17 +170,9 @@ pinfo::exit (DWORD n)
|
|||
|
||||
_my_tls.stacklock = 0;
|
||||
_my_tls.stackptr = _my_tls.stack;
|
||||
if (_my_tls.thread_handle)
|
||||
{
|
||||
sigproc_printf ("Calling ExitThread hProcess %p, n %p, exitcode %p",
|
||||
hProcess, n, exitcode);
|
||||
ExitThread (exitcode);
|
||||
}
|
||||
|
||||
sigproc_printf ("Calling ExitProcess since hMainthread is 0, hProcess %p, n %p, exitcode %p",
|
||||
sigproc_printf ("Calling ExitThread hProcess %p, n %p, exitcode %p",
|
||||
hProcess, n, exitcode);
|
||||
release ();
|
||||
ExitProcess (exitcode);
|
||||
ExitThread (exitcode);
|
||||
}
|
||||
# undef self
|
||||
|
||||
|
|
Loading…
Reference in New Issue