Changeset 623 for trunk/kernel/kern/thread.c
- Timestamp:
- Mar 6, 2019, 4:37:15 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/kern/thread.c
r620 r623 1382 1382 const char * string ) 1383 1383 { 1384 1384 1385 cxy_t thread_cxy = GET_CXY( thread_xp ); 1385 1386 thread_t * thread_ptr = GET_PTR( thread_xp ); 1386 1387 1387 #if ( DEBUG_BUSYLOCK )1388 1389 xptr_t iter_xp;1390 1391 // get relevant info from target t rhead descriptor1388 #if DEBUG_BUSYLOCK 1389 1390 xptr_t iter_xp; 1391 1392 // get relevant info from target thread descriptor 1392 1393 uint32_t locks = hal_remote_l32( XPTR( thread_cxy , &thread_ptr->busylocks ) ); 1393 1394 trdid_t trdid = hal_remote_l32( XPTR( thread_cxy , &thread_ptr->trdid ) ); … … 1429 1430 remote_busylock_release( txt0_lock_xp ); 1430 1431 1432 #else 1433 1434 printk("\n[ERROR] in %s : set DEBUG_BUSYLOCK in kernel_config.h for %s / thread(%x,%x)\n", 1435 __FUNCTION__, string, thread_cxy, thread_ptr ); 1436 1437 #endif 1438 1431 1439 return; 1432 1440 1433 #endif1434 1435 // display a warning1436 printk("\n[WARNING] set DEBUG_BUSYLOCK in kernel_config.h to display busylocks" );1437 1438 1441 } // end thread_display_busylock() 1439 1442
Note: See TracChangeset
for help on using the changeset viewer.