[2285] in java-interest

home help back first fref pref prev next nref lref last post

Re: Threads in native methods

daemon@ATHENA.MIT.EDU (Steve V. Yalovitser)
Wed Sep 27 23:15:26 1995

From: "Steve V. Yalovitser" <root@cyberpunk.com>
In-Reply-To: <Pine.3.89.9509261411.A29200-0100000@netcom13>
To: Peter Leong <pleong@netcom.com>
Cc: java-interest@java.sun.com
Date: Wed, 27 Sep 1995 20:08:25 +0900 (EDT)

Hiya,

	I am doing a similar thing on Solaris 2.4. the java VM was not
built threaded on that platform (ie on solaris there is a thread library and anoop stubs library). Any thread calls I did dropped into
the noop stubs (which happen to be in libc). On solaris one can preload a relocatable object file before the rest of the libraries. I
got around it by preloading code for thr_create thr_self... and the
code explicitely loads the actual real thread code from the non noop thread
library. This is the only way I saw around my current problem.
Offcourse if you dont know  how to do the above or have no support for
it in your os.. Id say yer outta luck... Thats why we _NEED_ at least
an object file(.o) distribution of any subsequent releases of JAVA.
-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com

home help back first fref pref prev next nref lref last post