Changeset 8edbe40 for libcfa/src/concurrency/thread.hfa
- Timestamp:
- Apr 23, 2021, 4:26:52 PM (3 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 50f6afb
- Parents:
- aaf92de
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/thread.hfa
raaf92de r8edbe40 31 31 $thread* get_thread(T& this); 32 32 }; 33 34 EHM_EXCEPTION(SomeThreadCancelled) (35 void * the_thread;36 exception_t * the_exception;37 );38 39 EHM_EXTERN_VTABLE(SomeThreadCancelled, std_thread_cancelled);40 33 41 34 EHM_FORALL_EXCEPTION(ThreadCancelled, (thread_t &), (thread_t)) ( … … 86 79 }; 87 80 88 forall( T & | is_thread(T) | IS_EXCEPTION(SomeThreadCancelled) ) 89 void ?{}( thread_dtor_guard_t & this, T & thrd, void(*)(SomeThreadCancelled &) ); 81 forall( T & | is_thread(T) | IS_EXCEPTION(ThreadCancelled, (T)) 82 | { _EHM_VTABLE_TYPE(ThreadCancelled)(T) & const _default_vtable; } ) 83 void ?{}( thread_dtor_guard_t & this, T & thrd, void(*)(ThreadCancelled(T) &) ); 90 84 void ^?{}( thread_dtor_guard_t & this ); 91 85 … … 132 126 //---------- 133 127 // join 134 forall( T & | is_thread(T) | IS_RESUMPTION_EXCEPTION(SomeThreadCancelled) ) 128 forall( T & | is_thread(T) | IS_RESUMPTION_EXCEPTION(ThreadCancelled, (T)) 129 | { _EHM_VTABLE_TYPE(ThreadCancelled)(T) & const _default_vtable; } ) 135 130 T & join( T & this ); 136 131
Note: See TracChangeset
for help on using the changeset viewer.