Changeset 6c7099a


Ignore:
Timestamp:
May 30, 2018, 10:40:34 AM (6 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, with_gc
Children:
c24ef9d, d4afaac
Parents:
09800e9
Message:

Fixed build

File:
1 edited

Legend:

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

    r09800e9 r6c7099a  
    5959void unlock(mutex_lock & this) {
    6060        lock( this.lock __cfaabi_dbg_ctx2 );
    61         this.is_locked = this.blocked_threads;
     61        this.is_locked = (this.blocked_threads != 0);
    6262        WakeThread(
    6363                pop_head( this.blocked_threads )
Note: See TracChangeset for help on using the changeset viewer.