Changeset 807d8c3 for src/libcfa
- Timestamp:
- Feb 28, 2018, 12:28:45 PM (7 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
- Children:
- 6a8df56, b002261
- Parents:
- 2c39855
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/libcfa/concurrency/kernel.c
r2c39855 r807d8c3 408 408 verify( !preemption_state.enabled ); 409 409 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 410 418 thread_desc * head = pop_head( ready_queue ); 411 419 unlock( ready_queue_lock );
Note: See TracChangeset
for help on using the changeset viewer.