|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Multitasking in Java
Hi,
For next year we are planning to use threads so the robot can multitask better. Do you think this is a good idea and if so how would you go about doing it thanks. I know you have to create a thread and runnable (like the one below) but where do you put them? Code:
Thread nameOfThread = new Thread();
Runnable trackingJob = new Runnable()
{
//Particle Analysis Report
public void run()
{
//Code here
}
};
|
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|