Changeset 1689 in Sophya for trunk/ArchTOIPipe/Kernel/toiprocessor.cc
- Timestamp:
- Oct 14, 2001, 1:56:14 AM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ArchTOIPipe/Kernel/toiprocessor.cc
r1663 r1689 242 242 } 243 243 244 void TOIProcessor::warnPutDone() { 245 int n = outIx.size(); 246 for (int i=0; i<n; i++) { 247 TOI* toi = outTOIs[i]; 248 toi->putDone(); 249 } 250 } 251 244 252 void* TOIProcessor::ThreadStart(void* arg) { 245 253 TOIProcessor* p = (TOIProcessor*) arg; 246 254 // cout << p->name << " new thread running " << pthread_self() << endl; 247 255 p->run(); 256 p->warnPutDone(); 248 257 pthread_exit(NULL); 249 258 // cout << p->name << " thread done " << pthread_self() << endl;
Note:
See TracChangeset
for help on using the changeset viewer.