Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 05 Nov 2001 09:31:45 +0100
From:      Arjan Knepper <arjan@jak.nl>
To:        Sansonetti Laurent <lorenzo@linuxbe.org>
Cc:        hackers FreeBSD <freebsd-hackers@FreeBSD.ORG>
Subject:   Re: Simple pthread question
Message-ID:  <3BE64E71.5050607@jak.nl>
References:  <3BDFB5B5.5090102@jak.nl> <1004551941.439.17.camel@teneriel.teledisnet.be>

next in thread | previous in thread | raw e-mail | index | archive | help

Sansonetti Laurent wrote:

>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.
>
Yep it does!
Thanks all

Arjan


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?3BE64E71.5050607>