Ignore:
Timestamp:
Feb 10, 2017, 3:57:35 PM (9 years ago)
Author:
Rob Schluntz <rschlunt@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
Children:
97f65d5
Parents:
b7b8674 (diff), 992b089 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'master' of plg.uwaterloo.ca:/u/cforall/software/cfa/cfa-cc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/libcfa/concurrency/threads.c

    rb7b8674 raa9ee19  
    2424
    2525extern "C" {
     26        #include <fenv.h>
    2627        #include <stddef.h>
    2728}
     
    9192        CtxSwitch( thrd_c->last->stack.context, thrd_c->stack.context );
    9293
     94        fenv_t envp;
     95        fegetenv( &envp );
     96        LIB_DEBUG_PRINTF("Thread : mxcsr %x\n", envp.__mxcsr);
    9397        LIB_DEBUG_PRINTF("Thread started : %p (t %p, c %p)\n", this, thrd_c, thrd_h);
    9498
     
    105109
    106110void yield( void ) {
    107         thread_schedule( this_thread() );
     111        get_this_processor()->thread_action = Reschedule;
    108112        suspend();
    109113}
Note: See TracChangeset for help on using the changeset viewer.