Changeset 6c7099a
- Timestamp:
- May 30, 2018, 10:40:34 AM (6 years ago)
- 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
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/libcfa/concurrency/mutex.c
r09800e9 r6c7099a 59 59 void unlock(mutex_lock & this) { 60 60 lock( this.lock __cfaabi_dbg_ctx2 ); 61 this.is_locked = this.blocked_threads;61 this.is_locked = (this.blocked_threads != 0); 62 62 WakeThread( 63 63 pop_head( this.blocked_threads )
Note: See TracChangeset
for help on using the changeset viewer.