* sigproc.cc (wait_sig): Cosmetic change.
* pinfo.cc (pinfo::exit): Don't explicitly remove myself since some other thread may still be using it.
This commit is contained in:
parent
7b96339c80
commit
529649f983
3 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2005-09-25 Christopher Faylor <cgf@timesys.com>
|
||||||
|
|
||||||
|
* sigproc.cc (wait_sig): Cosmetic change.
|
||||||
|
* pinfo.cc (pinfo::exit): Don't explicitly remove myself since some
|
||||||
|
other thread may still be using it.
|
||||||
|
|
||||||
2005-09-24 Christopher Faylor <cgf@timesys.com>
|
2005-09-24 Christopher Faylor <cgf@timesys.com>
|
||||||
|
|
||||||
* sigproc.cc (sigproc_terminate): More reversion of
|
* sigproc.cc (sigproc_terminate): More reversion of
|
||||||
|
|
|
@ -161,7 +161,6 @@ pinfo::exit (DWORD n)
|
||||||
int exitcode = self->exitcode & 0xffff;
|
int exitcode = self->exitcode & 0xffff;
|
||||||
if (!self->cygstarted)
|
if (!self->cygstarted)
|
||||||
exitcode >>= 8;
|
exitcode >>= 8;
|
||||||
release ();
|
|
||||||
sigproc_printf ("Calling ExitProcess n %p, exitcode %p", n, exitcode);
|
sigproc_printf ("Calling ExitProcess n %p, exitcode %p", n, exitcode);
|
||||||
ExitProcess (exitcode);
|
ExitProcess (exitcode);
|
||||||
}
|
}
|
||||||
|
|
|
@ -971,7 +971,7 @@ pending_signals::next ()
|
||||||
/* Process signals by waiting for signal data to arrive in a pipe.
|
/* Process signals by waiting for signal data to arrive in a pipe.
|
||||||
Set a completion event if one was specified. */
|
Set a completion event if one was specified. */
|
||||||
static DWORD WINAPI
|
static DWORD WINAPI
|
||||||
wait_sig (VOID *self)
|
wait_sig (VOID *)
|
||||||
{
|
{
|
||||||
HANDLE readsig;
|
HANDLE readsig;
|
||||||
PSECURITY_ATTRIBUTES sa_buf = (PSECURITY_ATTRIBUTES) alloca (1024);
|
PSECURITY_ATTRIBUTES sa_buf = (PSECURITY_ATTRIBUTES) alloca (1024);
|
||||||
|
|
Loading…
Add table
Reference in a new issue