Results 1 to 2 of 2
Hello,
I am writing an app and I need some suggestions as that what is the best way to inform another process of an event so it can continue to ...
- 03-22-2007 #1Just Joined!
- Join Date
- Mar 2007
- Posts
- 1
IPC - suggestions for synchronization of processes
Hello,
I am writing an app and I need some suggestions as that what is the best way to inform another process of an event so it can continue to do work.
my app will fork a new process and i want the child process to wait until the parent process does some stuff after the fork( ). how can i make this work? whats the most common or best solution to do this kinda thing?
a condition variable is only for threads right?
a signal? setting an env variable? socket? pipe? writting to a file?
thanks for the suggestions
- 03-26-2007 #2Just Joined!
- Join Date
- Mar 2007
- Posts
- 3
a semaphore would work.


Reply With Quote