Changeset dcad80a for libcfa/src
- Timestamp:
 - Jun 29, 2021, 6:29:55 PM (4 years ago)
 - Branches:
 - ADT, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
 - Children:
 - 262c600
 - Parents:
 - 660665f
 - File:
 - 
      
- 1 edited
 
- 
          
  libcfa/src/concurrency/locks.hfa (modified) (1 diff)
 
 
Legend:
- Unmodified
 - Added
 - Removed
 
- 
      
libcfa/src/concurrency/locks.hfa
r660665f rdcad80a 356 356 } 357 357 358 359 void on_notify(linear_backoff_then_block_lock & this, struct $thread * t ) { unpark(t); } 360 size_t on_wait(linear_backoff_then_block_lock & this) { unlock(this); return 0; } 361 void on_wakeup(linear_backoff_then_block_lock & this, size_t recursion ) { lock(this); } 358 static inline void on_notify(linear_backoff_then_block_lock & this, struct $thread * t ) { unpark(t); } 359 static inline size_t on_wait(linear_backoff_then_block_lock & this) { unlock(this); return 0; } 360 static inline void on_wakeup(linear_backoff_then_block_lock & this, size_t recursion ) { lock(this); } 362 361 363 362 //-----------------------------------------------------------------------------  
  Note:
 See   TracChangeset
 for help on using the changeset viewer.