Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/concurrency/monitor.cfa

    r09f357ec rc84b4be  
    243243        // last routine called by a thread.
    244244        // Should never return
    245         void __leave_thread_monitor() {
    246                 thread_desc * thrd = TL_GET( this_thread );
     245        void __leave_thread_monitor( thread_desc * thrd ) {
    247246                monitor_desc * this = &thrd->self_mon;
    248247
     
    817816        }
    818817
    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 );
    820819        return ready2run ? node->waiting_thread : 0p;
    821820}
     
    842841        for(    thread_desc ** thrd_it = &entry_queue.head;
    843842                *thrd_it;
    844                 thrd_it = &(*thrd_it)->next
     843                thrd_it = &(*thrd_it)->link.next
    845844        ) {
    846845                // For each acceptable check if it matches
Note: See TracChangeset for help on using the changeset viewer.