* sigproc.cc (WAIT_SIG_PRIORITY): Bump to THREAD_PRIORITY_TIME_CRITICAL.

This commit is contained in:
Christopher Faylor 2002-11-05 04:23:41 +00:00
parent f57289609b
commit 5806add291
4 changed files with 8 additions and 2 deletions

View File

@ -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

View File

@ -60,7 +60,7 @@ static const char * const process_listing[] =
"ctty",
"stat",
"statm",
"cmdline",
"qmdline",
NULL
};

View File

@ -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);

View File

@ -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)