Changes in src/libcfa/concurrency/thread.c [b69ea6b:82c948c]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/libcfa/concurrency/thread.c
rb69ea6b r82c948c 90 90 } 91 91 92 extern "C" {93 void __finish_creation(void) {94 coroutine_desc* thrd_c = this_coroutine;95 ThreadCtxSwitch( thrd_c, thrd_c->last );96 }97 }98 99 92 void yield( void ) { 100 verify( preemption.enabled );101 93 BlockInternal( this_thread ); 102 verify( preemption.enabled );103 94 } 104 95
Note:
See TracChangeset
for help on using the changeset viewer.