All of lore.kernel.org
 help / color / mirror / Atom feed
* Fw: pthread question
@ 2005-10-03  5:50 liixixi
  2005-10-03  6:08 ` Jakub Jelinek
  0 siblings, 1 reply; 2+ messages in thread
From: liixixi @ 2005-10-03  5:50 UTC (permalink / raw)
  To: linux-kernel

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Fw: pthread question
  2005-10-03  5:50 Fw: pthread question liixixi
@ 2005-10-03  6:08 ` Jakub Jelinek
  0 siblings, 0 replies; 2+ messages in thread
From: Jakub Jelinek @ 2005-10-03  6:08 UTC (permalink / raw)
  To: liixixi; +Cc: linux-kernel

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-10-03  6:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-03  5:50 Fw: pthread question liixixi
2005-10-03  6:08 ` Jakub Jelinek

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.