Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/concurrency/thread.hfa

    rb1d83ba rfd54fef  
    4242forall(T &)
    4343const char * msg(ThreadCancelled(T) *);
     44
     45// define that satisfies the trait without using the thread keyword
     46#define DECL_THREAD(X) $thread* get_thread(X& this) __attribute__((const)) { return &this.__thrd; } void main(X& this)
    4447
    4548// Inline getters for threads/coroutines/monitors
Note: See TracChangeset for help on using the changeset viewer.