* exceptions.cc (_cygtls::interrupt_setup): Implement SA_RESETHAND.
* include/cygwin/signal.h: Define SA_ONESHOT and SA_NOMASK. * dcrt0.cc (get_cygwin_startup_info): Remove commented out code.
This commit is contained in:
@@ -623,15 +623,8 @@ get_cygwin_startup_info ()
|
||||
if (res->straced)
|
||||
{
|
||||
res->ready (false);
|
||||
#if 0
|
||||
DWORD prio = GetThreadPriority (GetCurrentThread ());
|
||||
SetThreadPriority (GetCurrentThread (), THREAD_PRIORITY_IDLE);
|
||||
#endif
|
||||
for (unsigned i = 0; !being_debugged () && i < 10000; i++)
|
||||
low_priority_sleep (0);
|
||||
#if 0
|
||||
SetThreadPriority (GetCurrentThread (), prio);
|
||||
#endif
|
||||
strace.hello ();
|
||||
}
|
||||
break;
|
||||
|
Reference in New Issue
Block a user