Changes between Version 17 and Version 18 of kernel_synchro


Ignore:
Timestamp:
Sep 11, 2020, 6:44:21 PM (6 weeks ago)
Author:
alain
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • kernel_synchro

    v17 v18  
    5858The existing lock types are defined in the <kernel_config.h> file.
    5959
    60 === F.1 busylock debug ===
     60=== F1) busylock debug ===
    6161
    6262When the DEBUG_BUSYLOCK parameter is set to a non-zero value in the <kernel_config.h> file, two debug mechanism are activated, thanks to conditional compilation.
     
    66662. All ''busylock_acquire() / busylock_release()'' made by the thread[pid,trdid], are traced on kernel TXT0.  The DEBUG_BUSYLOCK_PID  DEBUG_BUSYLOCK_TRDID parameters are defined in the <kernel_config.h> file)
    6767
    68 === F.2 higher level lock debug ===
     68=== F2) higher level lock debug ===
    6969
    7070When the DEBUG_QUEUELOCK_TYPE parameter is set to a non zero value,  all ''queuelock_acquire() / queuelock_release()'' made by any thread on a given ''queuelock''  identified by  this type and its (cxy,ptr) pointer are traced on the kernel TXT0 terminal. The DEBUG_QUEUELOCK_TYPE, DEBUG_QUEUELOCK_CXY (cluster identifier) and DEBUG_QUEUELOCK_PTR (queuelock local pointer) parameters are defined in the <kernel_config.h> file. If the DEBUG_QUEUELOCK_CXY and DEBUG_QUEUELOCK_PTR parameters are set to zero, all queuelocks matching the specified type are traced.