Ignore:
Timestamp:
Jul 12, 2017, 10:14:11 AM (7 years ago)
Author:
Thierry Delisle <tdelisle@…>
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:
f73f5f4
Parents:
0322865c
Message:

Preemption is now stable enough to push, some clean-up needed

File:
1 edited

Legend:

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

    r0322865c rf2b12406  
    8080      // 2 - Leave its monitor
    8181      // 3 - Disable the interupts
    82       // The order of these 3 operations is very important
     82      // 4 - Final suspend
     83      // The order of these 4 operations is very important
     84      //Final suspend, should never return
    8385      __leave_thread_monitor( thrd );
    84 
    85       //Final suspend, should never return
    86       __suspend_internal();
    8786      abortf("Resumed dead thread");
    8887}
Note: See TracChangeset for help on using the changeset viewer.