Changeset f7d6bb0 for src/libcfa/concurrency/thread.c
- Timestamp:
- Jan 25, 2018, 1:00:06 PM (7 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
- Children:
- 6e0f4bd
- Parents:
- 81e1f32
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/libcfa/concurrency/thread.c
r81e1f32 rf7d6bb0 33 33 void ?{}(thread_desc& this) { 34 34 (this.self_cor){}; 35 this.self_cor.name = "Anonymous Coroutine";35 this.self_cor.name = "Anonymous Thread"; 36 36 this.self_mon.owner = &this; 37 37 this.self_mon.recursion = 1; 38 38 this.self_mon_p = &this.self_mon; 39 39 this.next = NULL; 40 __cfaabi_dbg_debug_do( 41 this.dbg_next = NULL; 42 this.dbg_prev = NULL; 43 __cfaabi_dbg_thread_register(&this); 44 ) 40 45 41 46 (this.monitors){ &this.self_mon_p, 1, (fptr_t)0 }; … … 43 48 44 49 void ^?{}(thread_desc& this) { 50 __cfaabi_dbg_debug_do( 51 __cfaabi_dbg_thread_unregister(&this); 52 ) 45 53 ^(this.self_cor){}; 46 54 }
Note: See TracChangeset
for help on using the changeset viewer.