diff options
author | Christopher Faylor <me@cgf.cx> | 2008-02-15 17:53:11 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2008-02-15 17:53:11 +0000 |
commit | 70300fdb1c4f0834f83441fcd3fa029e110a7c2e (patch) | |
tree | 79601b6862fc095dc64f3093f732f2608acdfc9f /winsup/cygwin/pinfo.h | |
parent | d0399780691190935aa55a4131f732c01f2ea7df (diff) | |
download | cygnal-70300fdb1c4f0834f83441fcd3fa029e110a7c2e.tar.gz cygnal-70300fdb1c4f0834f83441fcd3fa029e110a7c2e.tar.bz2 cygnal-70300fdb1c4f0834f83441fcd3fa029e110a7c2e.zip |
Perform whitespace cleanup throughout.
* dcrt0.cc (signal_shift_subtract): Eliminate ancient backwards compatibility.
(check_sanity_and_sync): Ditto.
* winsup.h (SIGTOMASK): Ditto. Just use constant in signal calculation.
* include/cygwin/version: Remove backwards signal mask compatibility define.
* path.cc (symlink_info::check_sysfile): Cosmetic change.
* registry.cc (get_registry_hive_path): Remove unneeded variable.
* exceptions.cc (handle_sigsuspend): Eliminate thread signal mask and use
either main sigmask or current thread sigmask.
(set_process_mask): Ditto.
(sighold): Ditto.
(sigrelse): Ditto.
(sigset): Ditto.
(set_process_mask_delta): Ditto.
(_cygtls::call_signal_handler): Ditto.
* fhandler_process.cc (format_process_status): Ditto.
* fhandler_termios.cc (fhandler_termios::bg_check): Ditto.
* pinfo.h (class pinfo): Ditto.
* select.cc (pselect): Ditto.
* signal.cc (sigprocmask): Ditto.
(abort): Ditto.
(sigpause): Ditto.
(sigsend): Ditto.
(wait_sig): Ditto.
* thread.h (pthread::parent_tls): New member.
* thread.cc (pthread::pthread): Record parent_tls here.
(pthread::thread_init_wrapper): Initialize sigmask from parent thread.
Diffstat (limited to 'winsup/cygwin/pinfo.h')
-rw-r--r-- | winsup/cygwin/pinfo.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/winsup/cygwin/pinfo.h b/winsup/cygwin/pinfo.h index 18346fe83..9d45bd2cb 100644 --- a/winsup/cygwin/pinfo.h +++ b/winsup/cygwin/pinfo.h @@ -96,16 +96,6 @@ public: inline void set_has_pgid_children (bool val) {has_pgid_children = val;} - inline sigset_t& getsigmask () - { - return sig_mask; - } - - inline void setsigmask (sigset_t mask) - { - sig_mask = mask; - } - commune_result commune_request (__uint32_t, ...); bool alive (); fhandler_pipe *pipe_fhandler (HANDLE, size_t &); @@ -128,8 +118,6 @@ public: HANDLE sendsig; HANDLE exec_sendsig; DWORD exec_dwProcessId; -private: - sigset_t sig_mask; public: HANDLE wr_proc_pipe; DWORD wr_proc_pipe_owner; |