Changeset b1d83ba for libcfa/src/concurrency
- Timestamp:
- Mar 12, 2021, 3:18:58 PM (5 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- a1538cd
- Parents:
- ff1240f
- File:
- 
      - 1 edited
 
 - 
          
  libcfa/src/concurrency/thread.hfa (modified) (1 diff)
 
Legend:
- Unmodified
- Added
- Removed
- 
      libcfa/src/concurrency/thread.hfarff1240f rb1d83ba 42 42 forall(T &) 43 43 const char * msg(ThreadCancelled(T) *); 44 45 // define that satisfies the trait without using the thread keyword46 #define DECL_THREAD(X) $thread* get_thread(X& this) __attribute__((const)) { return &this.__thrd; } void main(X& this)47 44 48 45 // Inline getters for threads/coroutines/monitors 
  Note:
 See   TracChangeset
 for help on using the changeset viewer.
  