[2924] in java-interest

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

Thread scheduling and mutexs in java VM and in loaded .so's

daemon@ATHENA.MIT.EDU (Steve V. Yalovitser)
Sat Oct 21 04:36:36 1995

From: "Steve V. Yalovitser" <root@cyberpunk.com>
To: java-interest@java.sun.com
Date: Sat, 21 Oct 1995 01:38:04 +0900 (EDT)

Hiya All,

	I am trying to figure out what is the best way to make calls I make into a shared library from java mutex'ed. Looking through the VM code for alpha (and
Imtrying to do this under prebeta!) I can see the sysMonitor calls being called
all over all the _really_ serialized calls like read/write etc.. I understand
that Java sets up signal handlers on sigio and others as well as Itimers and in this way "simulates" multi-threaded execution. I need to disable all of
thatcode when I call into some of my routines. Should I use the OS's mutex calls?
Should I disable the mapping to the intrDispatch and signal handling code and
then re-enable it before I leave my routine.. Should I call the sysMonitor
code instead? Thanks in advance.
-
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