From 1a9a235a5af29c55f5fe84745b595f0d247f888e Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Sat, 26 Feb 2005 20:50:25 +0000 Subject: * debug.cc (delete_handle): Report on handle value in debugging output. * pinfo.h (_pinfo::exists): Declare "new" function. (_pinfo::kill): Ditto. * fhandler_termios.cc (tty_min::kill_pgrp): Use _pinfo::exists rather than proc_exists. * pinfo.cc (pinfo::init): Ditto. Don't do a low_priority_sleep(0) when looping to find exec'ed procinfo. (pinfo::release): Be more careful about unmapping and closing. * signal.cc (_pinfo::kill): Rename from kill_worker. Accommodate entry into _pinfo class. (kill0): Use _pinfo::kill rather than kill_worker. (kill_pgrp): Ditto. Use _pinfo::exists rather than proc_exists. * sigproc.cc (_pinfo::exists): Rename from proc_exists. (pid_exists): Use _pinfo::exists rather than proc_exists. (remove_proc): Ditto. * sigproc.h (proc_exists): Delete declaration. --- winsup/cygwin/pinfo.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'winsup/cygwin/pinfo.h') diff --git a/winsup/cygwin/pinfo.h b/winsup/cygwin/pinfo.h index 586a6cc7f..877c22235 100644 --- a/winsup/cygwin/pinfo.h +++ b/winsup/cygwin/pinfo.h @@ -123,6 +123,8 @@ public: bool dup_proc_pipe (HANDLE) __attribute__ ((regparm(2))); void sync_proc_pipe (); bool alert_parent (char); + int __stdcall kill (siginfo_t&) __attribute__ ((regparm (2))); + bool __stdcall exists () __attribute__ ((regparm (1))); friend void __stdcall set_myself (HANDLE); -- cgit v1.2.3