Hey Guys,
I've got a class which starts a new thread by calling
public void omnom(){
t = new Thread(this, "My Thread");
t.start();
}
The new thread then runs inside the run()
method. So I have two threads working fine but how would I add a third? I'd like to "split" off 2 threads e.g t.start();
+ f.start();
how would I split off both of them from omnom()
and send them to 2 different "run()
" methods?
Thanks!