- File:
-
- 1 edited
-
libcfa/src/concurrency/monitor.cfa (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/monitor.cfa
rc84b4be r09f357ec 243 243 // last routine called by a thread. 244 244 // Should never return 245 void __leave_thread_monitor( thread_desc * thrd ) { 245 void __leave_thread_monitor() { 246 thread_desc * thrd = TL_GET( this_thread ); 246 247 monitor_desc * this = &thrd->self_mon; 247 248 … … 816 817 } 817 818 818 __cfaabi_dbg_print_safe( "Kernel : Runing %i (%p)\n", ready2run, ready2run ? (thread_desc*)node->waiting_thread : (thread_desc*)0p );819 __cfaabi_dbg_print_safe( "Kernel : Runing %i (%p)\n", ready2run, ready2run ? node->waiting_thread : 0p ); 819 820 return ready2run ? node->waiting_thread : 0p; 820 821 } … … 841 842 for( thread_desc ** thrd_it = &entry_queue.head; 842 843 *thrd_it; 843 thrd_it = &(*thrd_it)-> link.next844 thrd_it = &(*thrd_it)->next 844 845 ) { 845 846 // For each acceptable check if it matches
Note:
See TracChangeset
for help on using the changeset viewer.