From owner-freebsd-hackers Wed Oct 31 9:12:41 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.teledis.be (mail.teledis.be [217.117.32.52]) by hub.freebsd.org (Postfix) with ESMTP id 097DC37B401 for ; Wed, 31 Oct 2001 09:12:38 -0800 (PST) Received: from 217-117-54-102.teledisnet.be ([217.117.54.102]) by mail.teledis.be (Netscape Messaging Server 4.15) with ESMTP id GM2YGZ01.SHA; Wed, 31 Oct 2001 18:12:35 +0100 Subject: Re: Simple pthread question From: Sansonetti Laurent To: Arjan Knepper Cc: hackers FreeBSD In-Reply-To: <3BDFB5B5.5090102@jak.nl> References: <3BDFB5B5.5090102@jak.nl> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Evolution/0.13 (Preview Release) Date: 31 Oct 2001 18:12:21 +0000 Message-Id: <1004551941.439.17.camel@teneriel.teledisnet.be> Mime-Version: 1.0 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 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