home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / unix / programm / 4015 < prev    next >
Encoding:
Internet Message Format  |  1992-07-30  |  1.5 KB

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