Changeset e84ab3d for libcfa/src/concurrency/mutex.cfa
- Timestamp:
- Jul 5, 2021, 4:44:20 PM (3 years ago)
- Branches:
- ADT, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 7f62b708
- Parents:
- ee23a8d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/mutex.cfa
ree23a8d re84ab3d 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.