Changes in src/libcfa/concurrency/thread.c [c2b9f21:f7d6bb0]
- File:
-
- 1 edited
-
src/libcfa/concurrency/thread.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/libcfa/concurrency/thread.c
rc2b9f21 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.