Ignore:
Timestamp:
Nov 28, 2002, 4:49:21 PM (23 years ago)
Author:
aubourg
Message:

deadlock work

File:
1 edited

Legend:

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

    r1964 r2282  
    33//                               Christophe Magneville
    44//                               Reza Ansari
    5 // $Id: toisegment.cc,v 1.27 2002-04-16 08:28:53 aubourg Exp $
     5// $Id: toisegment.cc,v 1.28 2002-11-28 15:49:21 aubourg Exp $
    66
    77#include "toisegment.h"
     
    290290void  TOISegmented::BufferView::ensure(int sn) { /* Single-thread, reader thread */
    291291  if (sn < sn0) {
    292     cout << "TOISegmented::BufferView::ensure requested sample before first" << endl;
     292    cout << "TOISegmented::BufferView::ensure : requested sample before first" << endl;
    293293    cout << "sn " << sn << " sn0 " << sn0 << endl;
     294    cout << "name : " << master->name << endl;
    294295    abort();
    295296  }
     
    622623           << endl;
    623624       
    624       abort();
     625      cout << "lets try something before failing, but the program may block" << endl;
     626      pthread_cond_broadcast(&read_wait_condv);
     627      //usleep(1000);
     628      //      abort();
    625629    }
    626630  }
Note: See TracChangeset for help on using the changeset viewer.