home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.unix.programmer:4015 comp.unix.internals:1631
- Path: sparky!uunet!cis.ohio-state.edu!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!usc!rpi!bu.edu!cs!tasos
- From: tasos@cs.bu.edu (Anastasios Kotsikonas)
- Newsgroups: comp.unix.programmer,comp.unix.internals
- Subject: Signals propagated from child to parent
- Message-ID: <92352@bu.edu>
- Date: 30 Jul 92 14:54:27 GMT
- Sender: news@bu.edu
- Followup-To: comp.unix.programmer
- Organization: Computer Science Department, Boston University, Boston, MA, USA
- Lines: 26
- Originator: tasos@cs
-
- Greetings to all. Subject should have been "AIX bashing".
-
- Well, can somebody clarify the following: when a forked child receives
- a signal is the parent supposed to get the same signal (SIGSEGV for example)?
-
- If a A forks B, B forks C, C dies, B receives SIGCLD, is A supposed to get
- SIGCLD too?
-
- If A forks B, A does a system(), is A supposed to receive SIGCLD? Well on AIX
- not only it does, but the subsequent wait(), that we are supposed to execute
- when catching SIGCLD, blocks for ever waiting for B to die!!!!!!!!
-
- If A forks B and B exits normally (exit (0)) is A supposed to be told
- after the SIGCLD and wait() that WIFSIGNALED is TRUE AND WTERMSIG == SIGHUP?
-
- If the answers to all of the above are NO, then can somebody explain to me
- why this f* AIX 3.1.7 and earlier behaves so differently than all other UNIXes?
-
- Thanks in advance,
-
- Tasos
- --
- --
- Tasos Kotsikonas | tasos@cs.bu.edu | Work : Advanced Visual Systems
- Ex BU Country | | email: tasos@avs.com
- Club Member. | | Duties: none
-