home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / unix / internal / 2155 < prev    next >
Encoding:
Text File  |  1993-01-24  |  1.3 KB  |  34 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: <C1BLso.220H@austin.ibm.com>
  7. Date: Sat, 23 Jan 1993 18:53:12 GMT
  8. Reply-To: subra@bynar.austin.ibm.com (Sivarama Subramanian)
  9. Organization: IBM Austin, TX
  10. Lines: 22
  11.  
  12. Hi folks,
  13.  
  14.                                           forks
  15.                forks                   |-------->Process3
  16.    Process1 --------------> Process2-----
  17.                                        |-------->Procees4
  18.                                           forks
  19. I want to make Process2 controlling process and let Process4
  20.       belong to a backgroung process group. When Process2 exits
  21.       Process3 should get SIGHUP signal. I want to test this
  22.       scenerio.
  23.  
  24. Can anyone give me some insights?
  25.  
  26.  
  27. 1). What is a controlling process?
  28.          My understanding is that the controlling process is the one
  29.          which establishes the connection to the controlling terminal.
  30.          Is it correct and if so how to make a connection to
  31.          controlling terminal?
  32. 2) How to make a set of processes belong to foregound and background
  33.     processes?
  34.