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
crashes.
"ctty",
"stat",
"statm",
- "cmdline",
+ "qmdline",
NULL
};
bool
_pinfo::alive ()
{
+ if (!dwProcessId)
+ return 0;
HANDLE h = OpenProcess (PROCESS_QUERY_INFORMATION, false, dwProcessId);
if (h)
CloseHandle (h);
#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)