Searched refs:ar_ (Results 1 – 3 of 3) sorted by relevance
91 ar_[0] = new MyThread(f1);92 ar_[1] = f2 ? new MyThread(f2) : NULL;93 ar_[2] = f3 ? new MyThread(f3) : NULL;94 ar_[3] = f4 ? new MyThread(f4) : NULL;95 ar_[4] = f5 ? new MyThread(f5) : NULL;99 if(ar_[i]) { in Start()100 ar_[i]->Start(); in Start()108 if(ar_[i]) { in Join()109 ar_[i]->Join(); in Join()116 delete ar_[i]; in ~MyThreadArray() local[all …]
107 ar_ = new MyThread* [count_]; in MyThreadSet()109 ar_[i] = new MyThread(f); in MyThreadSet()114 ar_[i]->Start(); in Start()119 ar_[i]->Join(); in Join()124 delete ar_[i]; in ~MyThreadSet()126 delete ar_; in ~MyThreadSet()130 MyThread **ar_; member in MyThreadSet
283 ar_[0] = new MyThread(f1); in MyThreadArray()284 ar_[1] = f2 ? new MyThread(f2) : NULL; in MyThreadArray()285 ar_[2] = f3 ? new MyThread(f3) : NULL; in MyThreadArray()286 ar_[3] = f4 ? new MyThread(f4) : NULL; in MyThreadArray()287 ar_[4] = f5 ? new MyThread(f5) : NULL; in MyThreadArray()291 if(ar_[i]) { in Start()292 ar_[i]->Start(); in Start()300 if(ar_[i]) { in Join()301 ar_[i]->Join(); in Join()308 delete ar_[i]; in ~MyThreadArray()[all …]