Changeset 443 for trunk/kernel/libk


Ignore:
Timestamp:
May 16, 2018, 4:15:22 PM (7 years ago)
Author:
alain
Message:

Fix few bugs whike debugging the sort multi-thread application.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kernel/libk/remote_spinlock.c

    r438 r443  
    201201xlist_add_first( XPTR( local_cxy , &thread_ptr->xlocks_root ),
    202202                 XPTR( lock_cxy  , &lock_ptr->list ) );
    203 
    204 // if( (uint32_t)lock_ptr == 0x66788 )
    205 // printk("\n@@@ %s : thread %x takes remote_spinlock %x\n",
    206 //__FUNCTION__, thread_ptr, lock_ptr );
    207 
    208203#endif
    209204
     
    225220hal_remote_swd( XPTR( lock_cxy , &lock_ptr->owner ) , XPTR_NULL );
    226221xlist_unlink( XPTR( lock_cxy , &lock_ptr->list ) );
    227 
    228 // if( (uint32_t)lock_ptr == 0x66788 )
    229 // printk("\n@@@ %s : thread %x releases remote_spinlock %x\n",
    230 // __FUNCTION__, thread_ptr, lock_ptr );
    231 
    232222#endif
    233223
Note: See TracChangeset for help on using the changeset viewer.