Friday, December 1, 2006 04:13 PM
MyThread mt1 = new MyThread(this, int_start, int_end
this: so threads can find common variables.
int_start/end: these are unique for each thread you start (mt1, mt2, etc.)
The constructor of each thread saves the start and end variables as instance fields. These are unique for each thread.
You then call start on each created thread object (mt1.start(), etc.)