Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Jun 2006 04:05:27 -0700 (PDT)
From:      dbala <dharrini@yahoo-inc.com>
To:        freebsd-threads@freebsd.org
Subject:   Non preemptive thread implementations
Message-ID:  <5118524.post@talk.nabble.com>

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

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.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5118524.post>