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