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