SourceForge Logo WebPAJ Logo
WebPAJ Quick Link Bar 
 
A Note on Threads
Java (doesn't apply to Win32) defaults to Green Threads. Green Threads are basically a psuedo style threading for Linux and Unix JVM's. They don't run with in the kernal but rather in JVW. This however makes each thread run synchronized. To switch this you need to set the native flag (either the DEFAULT_THREADS_FLAG in .java_wrapper found in $JAVA_HOME/bin and/or $JRE_HOME/bin or at the command prompt like so :

java -native -jar WebPAJ.jar

If your JVM doesn't support Native Threads then this program won't run. It will freeze because each threads pause at the end of execution until all the threads are completed. Therefore if only one thread runs at a time, it just hangs for ever.

To find out more about compatibility, the differences, and origins of Green and Native Threads visit: http://blackdown.org/java-linux/docs/support/faq-release/README/1.1/THREADS-117v1

or view a FAQ from JavaSoft at:

http://java.sun.com/docs/books/faq/faqthr.html

 
WebPAJ Quick Link Bar 
 
All copyrighted materials are copyright their respective owners.
Everything else is copyright © 2000 Donaudy Munch Interactive.