in reply to Re^7: Forking Clients
in thread Forking Clients
The main program doesn't need to know what the thread is doing in "real-time", just that its done, and when it is, the main program needs to get the results of whatever the thread did. The caveat here is that the main program just needs to be able to do other stuff while the thread is doing its thing.
I understand how I can spawn the thread/process have it do its thing if there is no need for the main program to get the resultant information back from the thread, but the issue I seem to be having is that I can't get the information back from the thread/process without blocking. I guess I am just not understanding how to implement the non-blocking properly
Btw, I thank you for the suggestions, I will look at both, the more I know the better.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^9: Forking Clients
by mr_mischief (Monsignor) on Oct 16, 2008 at 19:30 UTC |