🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.unix.internals
1 messages
1 total messages Started by Sivarama Subramanian Sat, 23 Jan 1993 18:51
Question about controlling processes
#2604
Author: Sivarama Subramanian
Date: Sat, 23 Jan 1993 18:51
34 lines
1516 bytes
i folks,

Here is what is I am trying to do:
                                          forks
               forks                   |-------->Process3
   Process1 --------------> Process2-----
                                       |-------->Procees4
                                          forks
I want to make Process2 controlling process and let Process4
      belong to a backgroung process group. When Process2 exits
      Process3 should get SIGHUP signal. I want to test this
      scenerio.

Can anyone give me some insights?

In a related note:

1). What is a controlling process?
         My understanding is that the controlling process is the one
         which establishes the connection to the controlling terminal.
         Is it correct and if so how to make a connection to
         controlling terminal?
2) How to make a set of processes belong to foregound and background
    processes?
I would appreciate your help.

Thank you



subra
subra@testserver.austin.ibm.com

~
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads