Ignore:
Timestamp:
Oct 8, 2018, 11:31:42 AM (3 years ago)
Author:
alain
Message:

1) Register the kernel process in the cluster manager local list.
2) Introduce a new service in idbg : display the set of busylocks taken by a given thread.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kernel/kern/thread.h

    r564 r580  
    467467
    468468/***************************************************************************************
    469  * This debug function display the list of busylocks currently owned by a thread
    470  * identified by the DEBUG_BUSYLOCK_THREAD_XP parameter.
    471  * It is called each time the target thread acquire or release a busylock
    472  * (local or remote). It is never called when DEBUG_BUSYLOCK_THEAD_CP == 0.
    473  ***************************************************************************************
    474  * @ lock_type  : type of acquired / released busylock.
    475  * @ is_acquire : change is an acquire when true / change is a release when false.
    476  **************************************************************************************/
    477 void thread_display_busylocks( uint32_t lock_type,
    478                                bool_t   is_acquire );
     469 * This debug function display the list of busylocks (local or remote) currently owned
     470 * by a thread identified by the <thread_xp> argument.
     471 * WARNING : it can be called by the idbg tool, but the DEBUG_BUSYLOCK parameter
     472 * must be set in the kernel_config.h file.
     473 ***************************************************************************************
     474 * @ thread_xp  : extended pointer on target thread.
     475 **************************************************************************************/
     476void thread_display_busylocks( xptr_t  thread_xp );
    479477
    480478
Note: See TracChangeset for help on using the changeset viewer.