Regarding the behavior of function fork()
Assume that we have a process which has created few semaphores,messages queues and has access to shared memory and also handles some signals. Now what will happened to all these and what are all get inherited by the child process if I do a fork().
|
Code:
signals Code:
semaphores Code:
message queues Code:
shared memory |
All times are GMT -5. The time now is 03:18 AM. |