Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - sleep(): (3 Items)
   
sleep()  
Can anyone tell me if sleep() in QNX affects only the POSIX thread in which it was called, or does the whole process 
incl. all threads come to a standstill for the specified time?

Thanks!
RE: sleep()  
The thread only.

> -----Message d'origine-----
> De : Greg Jordan [mailto:community-noreply@qnx.com]
> Envoyé : 22 septembre 2011 14:05
> À : qnx4-community
> Objet : sleep()
> 
> Can anyone tell me if sleep() in QNX affects only the POSIX thread in which it
> was called, or does the whole process incl. all threads come to a standstill for
> the specified time?
> 
> Thanks!
> 
> 
> 
> _______________________________________________
> 
> QNX4 Community Support
> http://community.qnx.com/sf/go/post89034
> 
Re: sleep()  
Which is also the process in qnx4 since it didn't have
threads :)

-seanb

On Thu, Sep 22, 2011 at 02:12:15PM -0400, Mario Charest wrote:
> The thread only.
> 
> > -----Message d'origine-----
> > De : Greg Jordan [mailto:community-noreply@qnx.com]
> > Envoyé : 22 septembre 2011 14:05
> > À : qnx4-community
> > Objet : sleep()
> > 
> > Can anyone tell me if sleep() in QNX affects only the POSIX thread in which it
> > was called, or does the whole process incl. all threads come to a standstill for
> > the specified time?
> > 
> > Thanks!
> > 
> > 
> > 
> > _______________________________________________
> > 
> > QNX4 Community Support
> > http://community.qnx.com/sf/go/post89034
> > 
> 
> 
> 
> 
> _______________________________________________
> 
> QNX4 Community Support
> http://community.qnx.com/sf/go/post89036