[2265] in java-interest
Linking Threaded C++ code into JDK VM on Solaris 2.4
daemon@ATHENA.MIT.EDU (Steve V. Yalovitser)
Wed Sep 27 15:24:39 1995
From: "Steve V. Yalovitser" <root@cyberpunk.com>
In-Reply-To: <9509261545.AA01760@>
To: java-interest@java.Eng.Sun.COM
Date: Tue, 26 Sep 1995 18:45:16 +0900 (EDT)
Hiya,
I am trying to investigate the feasability of linking the java VM with
Orbix+Isis client stubs. Orbix is a C++ CORBA 1.2 dist. objects implementation.
Isisis a natively threaded reliable distribution mechanism.
I have already linked simple non-threaded C++ code and have had no problems
(via extern C). However when I try to link in (this is a .so) a library
containing calls to Orbix/Isis the load static initializer hangs. In particular I
dont think that the native threading code is being initialized. This code is
required for Isis to function properly.
The java VM seems to use a non-native thread implementation. Does this
threadimplementation rule out linking native thread code? Is it as simple as the
JDKneeding to be recompiled with a -mt? Thanks in advance for any help
-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com