TheLock TheLocker::the_lock;
TheList TheList::the_list;
-TheChk TheChk::the_chk;
int lock_item::table_id = 0;
{
TheLocker the_locker;
int i = the_list.size();
- while( --i >= 0 && the_list[i]->tid != tid );
+ while( --i >= 0 && !(the_list[i]->tid == tid && the_list[i]->owner == owner) );
if( i >= 0 ) {
printf("dbg_add, dup %016lx %s %s\n",
(unsigned long)tid, nm, the_list[i]->name);