Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/libcfa/concurrency/kernel.c

    rd8548e2 r807d8c3  
    408408        verify( !preemption_state.enabled );
    409409        lock( ready_queue_lock __cfaabi_dbg_ctx2 );
     410        //TEMP hack to find a bug
     411        if(this_processor != mainProcessor) {
     412                if(ready_queue.head == mainThread) {
     413                        unlock( ready_queue_lock );
     414                        return NULL;
     415                }
     416        }
     417
    410418        thread_desc * head = pop_head( ready_queue );
    411419        unlock( ready_queue_lock );
Note: See TracChangeset for help on using the changeset viewer.