From owner-freebsd-hackers Mon Nov 5 0:29:49 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from digitaldaemon.com (digitaldaemon.com [63.105.9.34]) by hub.freebsd.org (Postfix) with SMTP id 7750037B416 for ; Mon, 5 Nov 2001 00:29:46 -0800 (PST) Received: (qmail 39908 invoked from network); 5 Nov 2001 08:29:25 -0000 Received: from 213-84-202-101.adsl.xs4all.nl (HELO jak.nl) (213.84.202.101) by jak.nl with SMTP; 5 Nov 2001 08:29:25 -0000 Message-ID: <3BE64E71.5050607@jak.nl> Date: Mon, 05 Nov 2001 09:31:45 +0100 From: Arjan Knepper Organization: JAK++ Software Development B.V. User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.2) Gecko/20010726 Netscape6/6.1 X-Accept-Language: en-us MIME-Version: 1.0 To: Sansonetti Laurent Cc: hackers FreeBSD Subject: Re: Simple pthread question References: <3BDFB5B5.5090102@jak.nl> <1004551941.439.17.camel@teneriel.teledisnet.be> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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