| 29 | |
| 30 | template<class T> |
| 31 | Thread<T>::Thread(int thread_num, ThreadMaster<T>& master) : |
| 32 | master(master), machine(master.machine), processor(machine), |
| 33 | N(master.N), P(0), |
| 34 | thread_num(thread_num), thread(0) |
| 35 | { |
| 36 | } |
| 37 | |
| 38 | template<class T> |
| 39 | void Thread<T>::start() |