Changeset 12a1013 for libcfa


Ignore:
Timestamp:
Jul 19, 2021, 4:03:15 PM (4 years ago)
Author:
caparsons <caparson@…>
Branches:
ADT, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
63bde81
Parents:
37c6f77
Message:

fixed wait counter

File:
1 edited

Legend:

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

    r37c6f77 r12a1013  
    120120        owner = t;
    121121        recursion_count = ( t ? 1 : 0 );
    122         wait_count--;
     122        if (t) wait_count--;
    123123        unpark( t );
    124124}
Note: See TracChangeset for help on using the changeset viewer.