Hi:
I have a question in using pthread_join, when I program in windows, I
can call WaitForSingleObject to wait another thread exit, I can pass a
time-out to WaitForSingleObject, but, with pthread_join, I can't do the same
thing like WaitForSingleObject, any ideas? thx.
liixixi
On Mon, Oct 03, 2005 at 01:50:41PM +0800, liixixi wrote:
> Hi:
> I have a question in using pthread_join, when I program in windows, I
> can call WaitForSingleObject to wait another thread exit, I can pass a
> time-out to WaitForSingleObject, but, with pthread_join, I can't do the same
> thing like WaitForSingleObject, any ideas? thx.
This has nothing to do with linux-kernel, so the question should go to a
different list.
If you are using NPTL, you can use pthread_timedjoin_np.
Jakub