in reply to HTTP Requests and Threading
If you want to control the order of the output, you will need to accumulate the results and arrange to output them in your desired order.
See Using Select and pipes to communicate with threads for a simple example of how to use pipes to feed all information from the threads back to the main thread for processing.
|
|---|