This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: libjava threads vs no-threads?


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/




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]