Hi!
I am using Blackdown JDK version
1.1.7B on Red Hat Linux 6.0 and GCC 2.91.66.
I am facing the problem with the
native_threads with the above JDK.
I have written a small Test
code in that ,
1 . main thread creates 12
threads .
2. After that each threads joins the
main thread, So that main thread will wait till all other threads
completes.
3. Then the main thread terminates.
When I built and execute the above
test with the native_threads it failed but it works properly with green_threads
. (setting THREADS_FLAG to native / green option for native_threads /
green_threads )
Aanyone can let me know what
is the reason for the above failure?.
NOTE: See the attachment file
(NLGames1.java ) for the test code.
Thanks & Regards
Pramila
|