Changeset 9f575ea for libcfa/src/concurrency/mutex.cfa
- Timestamp:
- Feb 6, 2020, 10:23:27 AM (4 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 3381ed7
- Parents:
- 4f7b418
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/mutex.cfa
r4f7b418 r9f575ea 63 63 this.is_locked = (this.blocked_threads != 0); 64 64 WakeThread( 65 pop_head( this.blocked_threads ) 65 pop_head( this.blocked_threads ), false 66 66 ); 67 67 unlock( this.lock ); … … 121 121 owner = thrd; 122 122 recursion_count = (thrd ? 1 : 0); 123 WakeThread( thrd );123 WakeThread( thrd, false ); 124 124 } 125 125 unlock( lock ); … … 139 139 lock( lock __cfaabi_dbg_ctx2 ); 140 140 WakeThread( 141 pop_head( this.blocked_threads ) 141 pop_head( this.blocked_threads ), false 142 142 ); 143 143 unlock( lock ); … … 148 148 while(this.blocked_threads) { 149 149 WakeThread( 150 pop_head( this.blocked_threads ) 150 pop_head( this.blocked_threads ), false 151 151 ); 152 152 }
Note: See TracChangeset
for help on using the changeset viewer.