* sigproc.cc (WAIT_SIG_PRIORITY): Bump to THREAD_PRIORITY_TIME_CRITICAL.
This commit is contained in:
parent
f57289609b
commit
5806add291
|
@ -1,3 +1,7 @@
|
|||
2002-11-04 Christopher Faylor <cgf@redhat.com>
|
||||
|
||||
* sigproc.cc (WAIT_SIG_PRIORITY): Bump to THREAD_PRIORITY_TIME_CRITICAL.
|
||||
|
||||
2002-11-04 Christopher Faylor <cgf@redhat.com>
|
||||
|
||||
* pinfo.cc (_pinfo::commune_send): Initialize buffer or suffer random
|
||||
|
|
|
@ -60,7 +60,7 @@ static const char * const process_listing[] =
|
|||
"ctty",
|
||||
"stat",
|
||||
"statm",
|
||||
"cmdline",
|
||||
"qmdline",
|
||||
NULL
|
||||
};
|
||||
|
||||
|
|
|
@ -234,6 +234,8 @@ pinfo::init (pid_t n, DWORD flag, HANDLE in_h)
|
|||
bool
|
||||
_pinfo::alive ()
|
||||
{
|
||||
if (!dwProcessId)
|
||||
return 0;
|
||||
HANDLE h = OpenProcess (PROCESS_QUERY_INFORMATION, false, dwProcessId);
|
||||
if (h)
|
||||
CloseHandle (h);
|
||||
|
|
|
@ -41,7 +41,7 @@ details. */
|
|||
#define WSPX 20000 // Wait for wait_sig to terminate
|
||||
#define WWSP 20000 // Wait for wait_subproc to terminate
|
||||
|
||||
#define WAIT_SIG_PRIORITY THREAD_PRIORITY_HIGHEST
|
||||
#define WAIT_SIG_PRIORITY THREAD_PRIORITY_TIME_CRITICAL
|
||||
|
||||
#define TOTSIGS (NSIG + __SIGOFFSET)
|
||||
|
||||
|
|
Loading…
Reference in New Issue