Ticket #5668: looperlist.diff

File looperlist.diff, 553 bytes (added by axeld, 14 years ago)

additional debug output in BLooperList::AssertLocked()

  • src/kits/app/LooperList.cpp

     
    197197void
    198198BLooperList::AssertLocked()
    199199{
    200     if (!IsLocked())
     200    if (!IsLocked()) {
     201        debug_printf("BLooperList: sem %d, cl %d, clr %d, thread %d\n",
     202            (int)fLock.Sem(), (int)fLock.CountLocks(),
     203            (int)fLock.CountLockRequests(), (int)fLock.LockingThread());
    201204        debugger("looperlist is not locked; proceed at great risk!");
     205    }
    202206}
    203207
    204208