Ignore:
Timestamp:
Jun 23, 2017, 11:22:59 AM (7 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:
7bbba76
Parents:
d43cd01
Message:

Added macros for parameters only present in debug

File:
1 edited

Legend:

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

    rd43cd01 r2ac095d  
    3131extern void __leave_thread_monitor( struct thread_desc * this );
    3232extern void disable_interrupts();
    33 extern void enable_interrupts( const char * );
     33extern void enable_interrupts( DEBUG_CTX_PARAM );
    3434
    3535void CtxInvokeCoroutine(
     
    7171
    7272      // Officially start the thread by enabling preemption
    73       enable_interrupts( __PRETTY_FUNCTION__ );
     73      enable_interrupts( DEBUG_CTX );
    7474
    7575      // Call the main of the thread
Note: See TracChangeset for help on using the changeset viewer.