Changeset c86ee4c for libcfa/src/concurrency/mutex.cfa
- Timestamp:
- Jul 7, 2021, 6:24:42 PM (5 years ago)
- Branches:
- ADT, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- d83b266
- Parents:
- 1f45c7d (diff), b1a2c4a (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - File:
-
- 1 edited
-
libcfa/src/concurrency/mutex.cfa (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/mutex.cfa
r1f45c7d rc86ee4c 122 122 recursion_count--; 123 123 if( recursion_count == 0 ) { 124 $thread* thrd = pop_head( blocked_threads );124 thread$ * thrd = pop_head( blocked_threads ); 125 125 owner = thrd; 126 126 recursion_count = (thrd ? 1 : 0);
Note:
See TracChangeset
for help on using the changeset viewer.