Vendy
-
2007-04-02
Hello,
I try same exapmles with JPF.
But some instruction does not working.Can you help me please.
I try the example with thread and with sleep. When the example run as "java Test" then thread are switch, but when the example run as "jpf Test" run only first thread. (this problem is when the loop is infinite.)
My second problem is with class Thread. When the main class is not "extend Thread" and the next class is extend Thread - OK (Test.java) but the same example is problem if the main class is "extend Thread". (TestVlakna.java) The second example run as "java TestVlakna" but it does not run as "jpf TestVlakna".
yours sincerely
Vendula