Changeset 15d248e for src/libcfa/concurrency/preemption.c
- Timestamp:
- Jan 23, 2018, 1:12:35 PM (6 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:
- 764b4b2, b6838214
- Parents:
- 84e8423 (diff), 81e1f32 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/libcfa/concurrency/preemption.c
r84e8423 r15d248e 300 300 // Check if it is safe to preempt here 301 301 if( !preemption_ready() ) { return; } 302 303 // __cfaabi_dbg_print_buffer_decl(" KERNEL: preempting core %p (%p).\n", this_processor, this_thread); 302 304 303 305 preemption_in_progress = true; // Sync flag : prevent recursive calls to the signal handler
Note: See TracChangeset
for help on using the changeset viewer.