pthread_join(): any way to limit how long it waits for?
- From: "Simon Elliott" <Simon at ctsn.co.uk>
- Date: 30 Jan 2006 12:00:24 GMT
When a thread exits normally, I want to wait for it to exit, and
perhaps pick up its status, with pthread_join().
Will there be a race condition if the thread hangs before exiting: will
pthread_join() wait forever? Is there any sensible way to limit the
time that pthread_join() waits for?
--
Simon Elliott http://www.ctsn.co.uk
.
- Follow-Ups:
- Re: pthread_join(): any way to limit how long it waits for?
- From: Maxim Yegorushkin
- Re: pthread_join(): any way to limit how long it waits for?
- Prev by Date: Re: serial ports: how do I know data has been sent?
- Next by Date: libXt version
- Previous by thread: Threaded/forked timer that terminates a function after n minutes passed
- Next by thread: Re: pthread_join(): any way to limit how long it waits for?
- Index(es):
Relevant Pages
|