This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: libjava threads vs no-threads?
- From: Mohan Embar <gnustuff at thisiscool dot com>
- To: java at gcc dot gnu dot org
- Cc: "'David Daney'" <ddaney at avtrex dot com>, "Dave Korn" <dave dot korn at artimi dot com>
- Date: Mon, 23 Apr 2007 09:16:33 -0500
- Subject: Re: libjava threads vs no-threads?
- Reply-to: gnustuff at thisiscool dot com
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/