Changeset 6ff08d8 for libcfa/src/concurrency/thread.cfa
- Timestamp:
- Jul 12, 2021, 1:44:35 PM (3 years ago)
- Branches:
- ADT, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 605673f, 9345684
- Parents:
- cf444b6 (diff), a953c2e3 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/thread.cfa
rcf444b6 r6ff08d8 27 27 //----------------------------------------------------------------------------- 28 28 // Thread ctors and dtors 29 void ?{}( $thread& this, const char * const name, cluster & cl, void * storage, size_t storageSize ) with( this ) {29 void ?{}(thread$ & this, const char * const name, cluster & cl, void * storage, size_t storageSize ) with( this ) { 30 30 context{ 0p, 0p }; 31 31 self_cor{ name, storage, storageSize }; … … 57 57 } 58 58 59 void ^?{}( $thread& this) with( this ) {59 void ^?{}(thread$& this) with( this ) { 60 60 #if defined( __CFA_WITH_VERIFY__ ) 61 61 canary = 0xDEADDEADDEADDEADp; … … 87 87 void ?{}( thread_dtor_guard_t & this, 88 88 T & thrd, void(*cancelHandler)(ThreadCancelled(T) &)) { 89 $monitor* m = get_monitor(thrd);90 $thread* desc = get_thread(thrd);89 monitor$ * m = get_monitor(thrd); 90 thread$ * desc = get_thread(thrd); 91 91 92 92 // Setup the monitor guard … … 130 130 forall( T & | is_thread(T) ) 131 131 void __thrd_start( T & this, void (*main_p)(T &) ) { 132 $thread* this_thrd = get_thread(this);132 thread$ * this_thrd = get_thread(this); 133 133 134 134 disable_interrupts();
Note: See TracChangeset
for help on using the changeset viewer.