- File:
-
- 1 edited
-
src/libcfa/concurrency/threads.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/libcfa/concurrency/threads.c
r8fcbb4c r0c92c9f 24 24 25 25 extern "C" { 26 #include <fenv.h>27 26 #include <stddef.h> 28 27 } … … 92 91 CtxSwitch( thrd_c->last->stack.context, thrd_c->stack.context ); 93 92 94 fenv_t envp;95 fegetenv( &envp );96 LIB_DEBUG_PRINTF("Thread : mxcsr %x\n", envp.__mxcsr);97 93 LIB_DEBUG_PRINTF("Thread started : %p (t %p, c %p)\n", this, thrd_c, thrd_h); 98 94 … … 109 105 110 106 void yield( void ) { 111 get_this_processor()->thread_action = Reschedule;107 thread_schedule( this_thread() ); 112 108 suspend(); 113 109 }
Note:
See TracChangeset
for help on using the changeset viewer.