Ignore:
Timestamp:
Oct 14, 2001, 1:56:14 AM (24 years ago)
Author:
aubourg
Message:

segmented buffers...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ArchTOIPipe/Kernel/toiprocessor.cc

    r1663 r1689  
    242242}
    243243
     244void 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
    244252void* TOIProcessor::ThreadStart(void* arg) {
    245253  TOIProcessor* p = (TOIProcessor*) arg;
    246254  //  cout << p->name << " new thread running " << pthread_self() << endl;
    247255  p->run();
     256  p->warnPutDone();
    248257  pthread_exit(NULL);
    249258  //  cout << p->name << " thread done " << pthread_self() << endl;
Note: See TracChangeset for help on using the changeset viewer.