---------------------------------------------------------------- BEFORE YOU POST, search the faq at <http://java.apache.org/faq/> WHEN YOU POST, include all relevant version numbers, log files, and configuration files. Don't make us guess your problem!!! ---------------------------------------------------------------- Hallo, here on my Linux PC (SuSE-Linux 6.1, Apache 1.3.6., JServ 1.1) i have a Problem with Threads: Generally Servlets are working very well, but some days before i implement an Servlet which calls a Thread via "Start". The Thread is implement as RUNABLE. When i call the Thread like an normal class-call with RUN, everything works very well but not as a Thread. E.G.: class pT implements Runnable { public pT(){} // Thread Runner public void run() { System.out.println("inside the Thread"); } } ///////////////////////////////////////////////// public class Q() { public Q(){} public void ThreadRunner(){ pT a = new pT(); Thread th =new Thread (a); th.start(); } public void Runner(){ pT a = new pT(); a.run(); } } Calling "Runner" very very well, calling "ThreadRunner" not... Any ideas? Michael -- -------------------------------------------------------------- Please read the FAQ! <http://java.apache.org/faq/> To subscribe: [EMAIL PROTECTED] To unsubscribe: [EMAIL PROTECTED] Archives and Other: <http://java.apache.org/main/mail.html> Problems?: [EMAIL PROTECTED]
