Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/libcfa/concurrency/threads

    rc84e80a r8118303  
    2828// Anything that is resumed is a coroutine.
    2929trait is_thread(dtype T /*| sized(T)*/) {
    30       void main(T* this);
     30      void co_main(T* this);
    3131      thread_h* get_thread(T* this);
    3232        /*void ?{}(T*);
     
    3737static inline coroutine* get_coroutine(T* this) {
    3838        return &get_thread(this)->c;
    39 }
    40 
    41 static inline coroutine* get_coroutine(thread_h* this) {
    42         return &this->c;
    4339}
    4440
Note: See TracChangeset for help on using the changeset viewer.