Changes between Version 17 and Version 18 of kernel_synchro
- Timestamp:
- Sep 11, 2020, 6:44:21 PM (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
kernel_synchro
v17 v18 58 58 The existing lock types are defined in the <kernel_config.h> file. 59 59 60 === F .1busylock debug ===60 === F1) busylock debug === 61 61 62 62 When 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. … … 66 66 2. 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) 67 67 68 === F .2higher level lock debug ===68 === F2) higher level lock debug === 69 69 70 70 When 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.