Changeset 5456537 for libcfa/src/concurrency/thread.cfa
- Timestamp:
- Apr 26, 2021, 10:21:09 AM (5 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum, stuck-waitfor-destruct
- Children:
- 8840228, df24d37
- Parents:
- aec68b6
- File:
-
- 1 edited
-
libcfa/src/concurrency/thread.cfa (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/thread.cfa
raec68b6 r5456537 80 80 81 81 forall(T & | is_thread(T) | IS_EXCEPTION(ThreadCancelled, (T)) 82 | { _EHM_VTABLE_TYPE(ThreadCancelled)(T) & const _default_vtable; })82 | { EHM_DEFAULT_VTABLE(ThreadCancelled, (T)); }) 83 83 void ?{}( thread_dtor_guard_t & this, 84 84 T & thrd, void(*cancelHandler)(ThreadCancelled(T) &)) { … … 159 159 //----------------------------------------------------------------------------- 160 160 forall(T & | is_thread(T) | IS_RESUMPTION_EXCEPTION(ThreadCancelled, (T)) 161 | { _EHM_VTABLE_TYPE(ThreadCancelled)(T) & const _default_vtable; })161 | { EHM_DEFAULT_VTABLE(ThreadCancelled, (T)); }) 162 162 T & join( T & this ) { 163 163 thread_dtor_guard_t guard = { this, defaultResumptionHandler };
Note:
See TracChangeset
for help on using the changeset viewer.