diff options
| -rw-r--r-- | winsup/cygwin/pinfo.h | 27 |
1 files changed, 2 insertions, 25 deletions
diff --git a/winsup/cygwin/pinfo.h b/winsup/cygwin/pinfo.h index fe36b5a..dcb814b 100644 --- a/winsup/cygwin/pinfo.h +++ b/winsup/cygwin/pinfo.h @@ -16,7 +16,7 @@ enum { __SIGFLUSH = -2, __SIGSTRACE = -1, - __SIGCOMMUNE = 0, + __SIGUNUSED = 0, __SIGOFFSET = 2 }; @@ -25,17 +25,6 @@ enum #include <sys/resource.h> #include "thread.h" -struct commune_result -{ - char *s; - int n; -}; - -enum picom -{ - PICOM_CMDLINE = 1 -}; - class _pinfo { public: @@ -92,11 +81,6 @@ public: /* Non-zero if process was stopped by a signal. */ char stopsig; - - /* commune */ - pid_t hello_pid; - HANDLE tothem; - HANDLE fromthem; void exit (UINT n, bool norecord = 0) __attribute__ ((noreturn, regparm(2))); @@ -135,19 +119,12 @@ public: } inline void setthread2signal (void *thr) {thread2signal = (pthread *) thr;} - void commune_recv (); - commune_result commune_send (DWORD); - bool alive (); - char *cmdline (size_t &); - - friend void __stdcall set_myself (pid_t, HANDLE); private: struct sigaction sigs[NSIG]; sigset_t sig_mask; /* one set for everything to ignore. */ LONG _sigtodo[NSIG + __SIGOFFSET]; - pthread *thread2signal; // NULL means thread any other means a pthread - CRITICAL_SECTION lock; + pthread *thread2signal; // NULL means means thread any other means a pthread }; class pinfo |
