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/remote_busylock.c

    r580 r600  
    106106
    107107    // display message on kernel TXT0
    108     printk("\n### thread [%x,%x] ACQUIRE lock %s\n",
    109     thread_cxy, thread_ptr, lock_type_str[type] );
     108    printk("\n[%s] thread[%x,%x] ACQUIRE lock %s\n",
     109    __FUNCTION_, this->process->pid, this->trdid, lock_type_str[type] );
    110110}
    111111#endif
     
    154154
    155155    // display message on kernel TXT0
    156     printk("\n### thread [%x,%x] RELEASE lock %s\n",
    157     thread_cxy, thread_ptr, lock_type_str[type] );
     156    printk("\n[%s] thread[%x,%x] RELEASE lock %s\n",
     157    __FUNCTION__, this->process->pid, this->trdid, lock_type_str[type] );
    158158}
    159159#endif
Note: See TracChangeset for help on using the changeset viewer.