Re: Fw: pthread question

From: Jakub Jelinek
Date: Mon Oct 03 2005 - 01:14:07 EST


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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/