Changeset 28564382 for libcfa


Ignore:
Timestamp:
Jun 24, 2019, 6:05:10 PM (7 years ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
08065aa4
Parents:
64dc36e (diff), 3e2f5e3 (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.
Message:

Merge branch 'master' of plg.uwaterloo.ca:software/cfa/cfa-cc

Location:
libcfa/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/bits/containers.hfa

    r64dc36e r28564382  
    7878//-----------------------------------------------------------------------------
    7979#ifdef __cforall
    80         forall(dtype TYPE | is_node(TYPE))
     80        forall(dtype TYPE)
    8181        #define T TYPE
    8282#else
     
    9595
    9696#ifdef __cforall
    97         forall(dtype T | is_node(T))
     97        forall(dtype T)
    9898        static inline void ?{}( __stack(T) & this ) {
    9999                (this.top){ NULL };
     
    122122//-----------------------------------------------------------------------------
    123123#ifdef __cforall
    124         forall(dtype TYPE | is_node(TYPE))
     124        forall(dtype TYPE)
    125125        #define T TYPE
    126126#else
     
    141141#ifdef __cforall
    142142
    143         forall(dtype T | is_node(T))
     143        forall(dtype T)
    144144        static inline void ?{}( __queue(T) & this ) with( this ) {
    145145                head{ NULL };
  • libcfa/src/concurrency/coroutine.cfa

    r64dc36e r28564382  
    9898
    9999void ^?{}(coroutine_desc& this) {
    100         if(this.state != Halted && this.state != Start) {
     100        if(this.state != Halted && this.state != Start && this.state != Primed) {
    101101                coroutine_desc * src = TL_GET( this_thread )->curr_cor;
    102102                coroutine_desc * dst = &this;
  • libcfa/src/concurrency/invoke.h

    r64dc36e r28564382  
    4646        #ifdef __cforall
    4747        extern "Cforall" {
    48                 static inline struct thread_desc             *& get_next( struct thread_desc             & this );
    49                 static inline struct __condition_criterion_t *& get_next( struct __condition_criterion_t & this );
    50 
    5148                extern thread_local struct KernelThreadData {
    5249                        struct thread_desc    * volatile this_thread;
Note: See TracChangeset for help on using the changeset viewer.