Ignore:
Timestamp:
Jan 11, 2017, 4:10:51 PM (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:
2162c2c
Parents:
ff2d7341
Message:

Removed #ifdef for CFORALL in libcfa headers

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/libcfa/concurrency/threads

    rff2d7341 rbb82c03  
    1414// Update Count     : 0
    1515//
    16 
    17 #ifdef __CFORALL__
    1816
    1917#ifndef THREADS_H
     
    7573      coroutine* src = this_coroutine();                // optimization
    7674
    77         assertf( src->last != 0, 
     75        assertf( src->last != 0,
    7876                "Attempt to suspend coroutine %.256s (%p) that has never been resumed.\n"
    7977                "Possible cause is a suspend executed in a member called by a coroutine user rather than by the coroutine main.",
    8078                src->name, src );
    81         assertf( src->last->notHalted, 
     79        assertf( src->last->notHalted,
    8280                "Attempt by coroutine %.256s (%p) to suspend back to terminated coroutine %.256s (%p).\n"
    8381                "Possible cause is terminated coroutine's main routine has already returned.",
     
    10098      // not resuming self ?
    10199        if ( src != dst ) {
    102                 assertf( dst->notHalted , 
     100                assertf( dst->notHalted ,
    103101                        "Attempt by coroutine %.256s (%p) to resume terminated coroutine %.256s (%p).\n"
    104102                        "Possible cause is terminated coroutine's main routine has already returned.",
     
    115113#endif //THREADS_H
    116114
    117 #else
    118 #include_next <thread>
    119 #endif //__CFORALL__
    120 
    121115// Local Variables: //
    122116// mode: c //
Note: See TracChangeset for help on using the changeset viewer.