Changeset ddd473f for libcfa/src/concurrency/locks.hfa
- Timestamp:
- Apr 20, 2021, 12:35:52 PM (3 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 0583b47b
- Parents:
- d2fadeb
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/locks.hfa
rd2fadeb rddd473f 197 197 static inline $thread * unlock( fast_lock & this ) __attribute__((artificial)); 198 198 static inline $thread * unlock( fast_lock & this ) { 199 $thread * thrd = active_thread(); 200 /* paranoid */ verify(thrd == this.owner); 199 /* paranoid */ verify(active_thread() == this.owner); 201 200 202 201 // open 'owner' before unlocking anyone
Note: See TracChangeset
for help on using the changeset viewer.