Ignore:
Timestamp:
Nov 10, 2018, 5:38:51 PM (6 years ago)
Author:
alain
Message:

Cosmetic: improve debug.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kernel/libk/busylock.c

    r580 r600  
    9595
    9696    // display message on kernel TXT0
    97     printk("\n### thread [%x,%x] ACQUIRE lock %s\n",
    98     thread_cxy, thread_ptr, lock_type_str[lock->type] );
     97    printk("\n[%s] thread[%x,%x] ACQUIRE lock %s\n",
     98    __FUNCTION__, this->process->pid, this->trdid, lock_type_str[lock->type] );
    9999}
    100100#endif
     
    137137
    138138    // display message on kernel TXT0
    139     printk("\n### thread [%x,%x] RELEASE lock %s\n",
    140     thread_cxy, thread_ptr, lock_type_str[lock->type] );
     139    printk("\n[%s] thread[%x,%x] RELEASE lock %s\n",
     140    __FUNCTION__, this->process->pid, this->trdid, lock_type_str[lock->type] );
    141141}
    142142#endif
Note: See TracChangeset for help on using the changeset viewer.