• Martin Blix Grydeland's avatar
    Add a mutex timing flag to diag_bitmap · d74bc62e
    Martin Blix Grydeland authored
    The MTX_UNLOCK debug lines will log for how long this thread
    held the lock.
    
    The MTX_LOCKWAIT debug lines will log how long the thread waited for the
    lock to be acquired.
    
    Bugs: Threads unlocking the mutex as part of pthread_cond_wait will
    not update the time of lock value for that mutex on pthread_cond_wait
    entry.
    d74bc62e
mgt_param.c 42.6 KB