Julian Dolby <[EMAIL PROTECTED]> writes:

>   I have been playing with running AWT programs on Jikes RVM using GNU
> Classpath, and I have have made some simple applications run.  The major
> issue was the threading model, and the assumption that Java threads look
> like pthreads, which they do not on Jikes RVM (we use our own user-level
> threading).  I found the gthread-jni files, and I basically filled in all
> the functions in gthread-jni.c to use JNI to talk to Java-level
> synchronization mechanisms.  I also passed the magic structure of those
> function pointers to g_thread_init in GtkMainThread.gtkInit.  This code
> should work for any VM; nonethelessI put the changes to use this stuff
> under a --enable-portable-native-sync option to configure, so that VMs that
> do not support all the JNI I used will not be bitten by it.

Yes, perhaps we can make the portable native sync the default
eventually.

Brian
-- 
Brian Jones <[EMAIL PROTECTED]>


_______________________________________________
Classpath mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/classpath

Reply via email to