Changeset 4f449d2


Ignore:
Timestamp:
Jan 15, 2021, 3:18:37 PM (4 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
0edd11a
Parents:
1dbc3e10
Message:

Fixed interted abort condition.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/concurrency/kernel.cfa

    r1dbc3e10 r4f449d2  
    633633        // abort cannot be recursively entered by the same or different processors because all signal handlers return when
    634634        // the globalAbort flag is true.
    635         bool first = __atomic_test_and_set( &kernel_abort_called, __ATOMIC_SEQ_CST);
     635        bool first = !__atomic_test_and_set( &kernel_abort_called, __ATOMIC_SEQ_CST);
    636636
    637637        // first task to abort ?
Note: See TracChangeset for help on using the changeset viewer.