Changes in src/libcfa/concurrency/thread.c [f7d6bb0:c2b9f21]
- File:
-
- 1 edited
-
src/libcfa/concurrency/thread.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/libcfa/concurrency/thread.c
rf7d6bb0 rc2b9f21 33 33 void ?{}(thread_desc& this) { 34 34 (this.self_cor){}; 35 this.self_cor.name = "Anonymous Thread";35 this.self_cor.name = "Anonymous Coroutine"; 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 )45 40 46 41 (this.monitors){ &this.self_mon_p, 1, (fptr_t)0 }; … … 48 43 49 44 void ^?{}(thread_desc& this) { 50 __cfaabi_dbg_debug_do(51 __cfaabi_dbg_thread_unregister(&this);52 )53 45 ^(this.self_cor){}; 54 46 }
Note:
See TracChangeset
for help on using the changeset viewer.