I have a few threads that might need as long as a minute or more to
complete and terminate. If they exceed an arbitrary time, they can be
canceled.
In Win32, there is a 'wait on multiple objects' call. I'm not sure if it
blocks or spins, but it *does* take a timeout argument.
How about
I'd like to start the init threads, put the id's in an array, block until
they are all done, then continue. Each thread should have its own
timeout
handling internally.
It seems to me that you are complicating the issue for no
good reason. Why are you using threads at all?
1. We want to
I have a few threads that might need as long as a minute or more to
complete and terminate. If they exceed an arbitrary time, they can be
canceled.
In Win32, there is a 'wait on multiple objects' call. I'm not sure if it
blocks or spins, but it *does* take a timeout argument.
Is there a