- File:
-
- 1 edited
-
libcfa/src/concurrency/thread.hfa (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/thread.hfa
recfd758 rb1d83ba 32 32 }; 33 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 41 EHM_FORALL_EXCEPTION(ThreadCancelled, (thread_t &), (thread_t)) ( 34 FORALL_DATA_EXCEPTION(ThreadCancelled, (thread_t &), (thread_t)) ( 42 35 thread_t * the_thread; 43 36 exception_t * the_exception; … … 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 void ?{}( thread_dtor_guard_t & this, T & thrd, void(*)(ThreadCancelled(T) &) ); 90 83 void ^?{}( thread_dtor_guard_t & this ); 91 84 … … 132 125 //---------- 133 126 // join 134 forall( T & | is_thread(T) | IS_RESUMPTION_EXCEPTION( SomeThreadCancelled) )127 forall( T & | is_thread(T) | IS_RESUMPTION_EXCEPTION(ThreadCancelled, (T)) ) 135 128 T & join( T & this ); 136 129
Note:
See TracChangeset
for help on using the changeset viewer.