home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / unix / internal / 2154 < prev    next >
Encoding:
Text File  |  1993-01-24  |  1.4 KB  |  46 lines

  1. Newsgroups: comp.unix.internals
  2. Path: sparky!uunet!cs.utexas.edu!geraldo.cc.utexas.edu!portal.austin.ibm.com!awdprime.austin.ibm.com!bynar.austin.ibm.com!subra
  3. From: subra@bynar.austin.ibm.com (Sivarama Subramanian)
  4. Subject: Question about controlling processes 
  5. Sender: news@austin.ibm.com (News id)
  6. Message-ID: <C1BLpn.146v@austin.ibm.com>
  7. Date: Sat, 23 Jan 1993 18:51:23 GMT
  8. Reply-To: subra@bynar.austin.ibm.com (Sivarama Subramanian)
  9. Organization: IBM Austin, TX
  10. Lines: 34
  11.  
  12. i folks,
  13.  
  14. Here is what is I am trying to do:
  15.                                           forks
  16.                forks                   |-------->Process3
  17.    Process1 --------------> Process2-----
  18.                                        |-------->Procees4
  19.                                           forks
  20. I want to make Process2 controlling process and let Process4
  21.       belong to a backgroung process group. When Process2 exits
  22.       Process3 should get SIGHUP signal. I want to test this
  23.       scenerio.
  24.  
  25. Can anyone give me some insights?
  26.  
  27. In a related note:
  28.  
  29. 1). What is a controlling process?
  30.          My understanding is that the controlling process is the one
  31.          which establishes the connection to the controlling terminal.
  32.          Is it correct and if so how to make a connection to
  33.          controlling terminal?
  34. 2) How to make a set of processes belong to foregound and background
  35.     processes?
  36. I would appreciate your help.
  37.  
  38. Thank you
  39.  
  40.  
  41.  
  42. subra
  43. subra@testserver.austin.ibm.com
  44.  
  45. ~
  46.