From owner-freebsd-threads@FreeBSD.ORG Fri Jun 30 11:21:47 2006 Return-Path: X-Original-To: freebsd-threads@freebsd.org Delivered-To: freebsd-threads@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8352616A412 for ; Fri, 30 Jun 2006 11:21:47 +0000 (UTC) (envelope-from lists@nabble.com) Received: from talk.nabble.com (www.nabble.com [72.21.53.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4E82843D45 for ; Fri, 30 Jun 2006 11:21:47 +0000 (GMT) (envelope-from lists@nabble.com) Received: from [72.21.53.38] (helo=jubjub.nabble.com) by talk.nabble.com with esmtp (Exim 4.50) id 1FwH4E-0006HJ-Le for freebsd-threads@freebsd.org; Fri, 30 Jun 2006 04:21:46 -0700 Message-ID: <5118524.post@talk.nabble.com> Date: Fri, 30 Jun 2006 04:05:27 -0700 (PDT) From: dbala To: freebsd-threads@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-Sender: dharrini@yahoo-inc.com X-Nabble-From: dbala Subject: Non preemptive thread implementations X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Jun 2006 11:21:47 -0000 Is there any way programs can be compiled so they switch at I/O but there is no attempt to give all the threads equal time slices? Using a non-preemptive thread package like GNU Pth doesn't help me because I need to redirect I/O functions from a library (Oracle's libclntsh) that lead into libc/c_r to the replacement APIs in the non-preemptive thread package: I can do this for direct calls from libclntsh to libc/c_r, but I have a problem with functions like gethostbyname() in libc/c_r that make calls like connect() and socket() internally. -- View this message in context: http://www.nabble.com/Non-preemptive-thread-implementations-tf1872618.html#a5118524 Sent from the freebsd-threads forum at Nabble.com.