Changeset 00b046f


Ignore:
Timestamp:
Jul 3, 2023, 1:12:31 PM (14 months ago)
Author:
caparsons <caparson@…>
Branches:
master
Children:
70f97c8
Parents:
a2f1ea8d
Message:

very slim race condition between a channel closing and a waituntil unregister was being handled improperly and is now fixed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/concurrency/channel.hfa

    ra2f1ea8d r00b046f  
    340340    unlock( mutex_lock );
    341341
    342     // only return true when not special OR case, not exceptional calse and status is SAT
    343     return ( node.extra == 0p || !node.park_counter ) ? false : *node.clause_status == __SELECT_SAT;
     342    // only return true when not special OR case and status is SAT
     343    return !node.park_counter ? false : *node.clause_status == __SELECT_SAT;
    344344}
    345345
Note: See TracChangeset for help on using the changeset viewer.