Skip site navigation (1)Skip section navigation (2)
Date:      31 Oct 2001 18:12:21 +0000
From:      Sansonetti Laurent <lorenzo@linuxbe.org>
To:        Arjan Knepper <arjan@jak.nl>
Cc:        hackers FreeBSD <freebsd-hackers@FreeBSD.ORG>
Subject:   Re: Simple pthread question
Message-ID:  <1004551941.439.17.camel@teneriel.teledisnet.be>
In-Reply-To: <3BDFB5B5.5090102@jak.nl>
References:  <3BDFB5B5.5090102@jak.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 2001-10-31 at 08:26, Arjan Knepper wrote:
> How do I suspend one particular thread without suspending the whole process?
> I can not use sleep or usleep can I?

You can use them, since they use nanosleep() which is I think
re-entrant.

If you are using digital unix pthreads implementation, there is
something like pthread_delay_np() which you can still use.

Hope that helps.

> 
> TIA
> Arjan
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-hackers" in the body of the message
-- 

--
Sansonetti Laurent - http://lrz.linuxbe.org



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1004551941.439.17.camel>