in reply to Re^5: Forking Clients
in thread Forking Clients
Good point, and maybe I am approaching this the wrong way. But here is what I would like to do.
I have a main program, which has a bunch of things it needs to do. From it I want to spawn off a function that will make a call, that function will wait for a response. The main program itself should not wait for it to come back, it should continue on spawning off other functions, or doing basic prints or function calls.
When the spawned off function is done with its work,it would be great if there would be some interrupt which would let me know that it is, if needed I could periodically call a piece of code to check to see if its done.
Does this explain it better?
I really appreciate your help with this.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^7: Forking Clients
by BrowserUk (Patriarch) on Oct 15, 2008 at 23:04 UTC | |
by gepapa (Acolyte) on Oct 16, 2008 at 13:11 UTC | |
by BrowserUk (Patriarch) on Oct 16, 2008 at 13:59 UTC | |
by gepapa (Acolyte) on Oct 16, 2008 at 14:50 UTC | |
by BrowserUk (Patriarch) on Oct 16, 2008 at 15:28 UTC | |
| |
|
Re^7: Forking Clients
by mr_mischief (Monsignor) on Oct 15, 2008 at 21:05 UTC | |
by gepapa (Acolyte) on Oct 16, 2008 at 12:31 UTC | |
by mr_mischief (Monsignor) on Oct 16, 2008 at 19:30 UTC |