From owner-freebsd-questions Fri Mar 29 22: 0: 9 2002 Delivered-To: freebsd-questions@freebsd.org Received: from InterJet.dellroad.org (adsl-63-194-81-26.dsl.snfc21.pacbell.net [63.194.81.26]) by hub.freebsd.org (Postfix) with ESMTP id 39B7C37B416 for ; Fri, 29 Mar 2002 22:00:05 -0800 (PST) Received: from arch20m.dellroad.org (arch20m.dellroad.org [10.1.1.20]) by InterJet.dellroad.org (8.9.1a/8.9.1) with ESMTP id VAA16743 for ; Fri, 29 Mar 2002 21:51:46 -0800 (PST) Received: (from archie@localhost) by arch20m.dellroad.org (8.11.6/8.11.6) id g2U5pGH51249 for freebsd-questions@freebsd.org; Fri, 29 Mar 2002 21:51:16 -0800 (PST) (envelope-from archie) From: Archie Cobbs Message-Id: <200203300551.g2U5pGH51249@arch20m.dellroad.org> Subject: pthread question To: freebsd-questions@freebsd.org Date: Fri, 29 Mar 2002 21:51:15 -0800 (PST) X-Mailer: ELM [version 2.4ME+ PL88 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Simple question: is it possible to configure pthread(3) to *not* be preemptive? That is, a context switch will never happen until a thread either makes a blocking call or explicitly yeilds? I have an application that uses PTH and was wondering how hard it would be to switch to pthreads. Thanks, -Archie __________________________________________________________________________ Archie Cobbs * Packet Design * http://www.packetdesign.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message