libjava threads vs no-threads?

Mohan Embar gnustuff@thisiscool.com
Mon Apr 23 17:54:00 GMT 2007


Hi Dave,

>I'm flying blind here, as I don't know what libjava does with threads or
>what a ParkHelper does, but would just implementing a completely dummy
>do-nothing definition in no-threads.h be the right thing to try?

That would be a pretty safe bet. See park() and unpark() here:

http://java.sun.com/j2se/1.5.0/docs/api/java/util/concurrent/locks/LockSupport.html

FWIW, I can't remember that last time that gcj worked correctly on Cygwin.
Last time I touched it (several years ago), there were JNI issues but I can't
remember what these were.

-- Mohan
http://www.thisiscool.com/
http://www.animalsong.org/





More information about the Java mailing list