At 4:43 PM +0200 6/6/02, Waes Bruno wrote: >how do i enable green threads ? >and how do i check if a java app is running with green threads or not ? > > >export PATH="$PATH:/opt/j2re1.3.1/bin" >export JAVA_COMPILER=NONE >export THREADS_FLAG=green >export THREADS_TYPE=green_threads > >is in my bashrc file > >but i dont think it runs with green threads yet.
This should be right. The easiest way I know how to check to see what kinds of threads are in use is to run a java application that creates multiple threads, and then do a ps to see how many processes are active. If your java app is using native threads on Linux, you'll see one java process per thread. If your java app is using green threads, you should only see a single java process. -- ______________________________________________________________________ Wilhelm Fitzpatrick | When we speak of free http://www.3roses.com/ | software we are referring [EMAIL PROTECTED] | to freedom not price. ---------------------------------------------------------------------- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]