Ignore:
Timestamp:
Jan 23, 2018, 10:01:26 AM (6 years ago)
Author:
Thierry Delisle <tdelisle@…>
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:
d2d50d7
Parents:
293377c
Message:

Added commented debug line for preemption, uncomment to print log on preemption

File:
1 edited

Legend:

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

    r293377c r05615ba  
    300300        // Check if it is safe to preempt here
    301301        if( !preemption_ready() ) { return; }
     302
     303        // __cfaabi_dbg_print_buffer_decl(" KERNEL: preempting core %p (%p).\n", this_processor, this_thread);
    302304
    303305        preemption_in_progress = true;                      // Sync flag : prevent recursive calls to the signal handler
Note: See TracChangeset for help on using the changeset viewer.