Changeset 2ed94a9 for libcfa/src/concurrency/locks.hfa
- Timestamp:
- Feb 8, 2023, 2:27:55 PM (3 years ago)
- Branches:
- ADT, master
- Children:
- b110bcc
- Parents:
- 997185e (diff), ccb29b4 (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/locks.hfa (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/locks.hfa
r997185e r2ed94a9 511 511 // flag showing if lock is held 512 512 volatile bool held; 513 514 #ifdef __CFA_DEBUG__515 // for deadlock detection516 struct thread$ * owner;517 #endif518 513 }; 519 514 … … 526 521 static inline void ?=?( spin_queue_lock & this, spin_queue_lock this2 ) = void; 527 522 528 // if this is called recursively IT WILL DEADLOCK! !!!!523 // if this is called recursively IT WILL DEADLOCK! 529 524 static inline void lock(spin_queue_lock & this) with(this) { 530 525 mcs_spin_node node; … … 645 640 //----------------------------------------------------------------------------- 646 641 // is_blocking_lock 647 trait is_blocking_lock(L & | sized(L)) { 642 forall( L & | sized(L) ) 643 trait is_blocking_lock { 648 644 // For synchronization locks to use when acquiring 649 645 void on_notify( L &, struct thread$ * );
Note:
See TracChangeset
for help on using the changeset viewer.