Something in this mail sounds like a disconnect. The pthread API
implementation bundled with current Linux releases (it actually comes
as part of glibc) uses the native Linux threading facility... it's what
the JDK itself uses to get native threading.

So I'm not sure what is meant by "change the pthread code to use native
threads". You mean don't use the pthread API and just call Linux'
clone() syscall?

Native apps using the pthread API should be able to play with the
native-thread JDK, but not with the green-thread JDK. That is, unless,
you've somehow latched onto a pthread implementation other than the one
that comes with glibc.

Nathan


On 28 Oct, [EMAIL PROTECTED] wrote:
> Hi Stephane, everyone,
> 
> On Thu, 28 Oct 1999, Stephane Letz wrote:
> 
>> I'm trying to port a C library  which use pthread with the Blackdown JDK
>> 1.1.7 on Linux.
> 
> Bad idea.  All pthread implementations I know of, along with green threads
> in the JDK, and native threads, mess around with the signal handlers.  It
> would be a big undertaking to make everyone happy.
> 
> Your best bet would be to change the pthread code to use native threads,
> which is Posix compatible anyway and discard the other pthread library.
> 
> . . . Sean.
> 
> 
> 
> ----------------------------------------------------------------------
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to