You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: include/nbl/system/demote_promote_writer_readers_lock.h
+30-26Lines changed: 30 additions & 26 deletions
Original file line number
Diff line number
Diff line change
@@ -42,7 +42,7 @@ namespace impl
42
42
};
43
43
} //namespace impl
44
44
45
-
enumDPWR_LOCK_DEBUG_STAGES
45
+
enumDPWR_LOCK_DEBUG_STAGE
46
46
{
47
47
// To ensure correctness during debug, the callback at `BEFORE_STATE_UPDATE` MUST make the virtual thread that called it run again. This is so that during debug
48
48
// only the virtual thread holding the flipLock progresses
* @brief By default it has no debug callback. You can provide a debug callback for every stage of the lock's loop (see `perform_under_locked_state` and `DPWR_LOCK_DEBUG_STAGES`)
70
-
* as a functional struct that overloads `void operator(DPWR_LOCK_DEBUG_STAGES)`
70
+
* @brief By default it has no debug callback. You can provide a debug callback for every stage of the lock's loop (see `perform_under_locked_state` and `DPWR_LOCK_DEBUG_STAGE`)
71
+
* as a functional struct that overloads `void operator(DPWR_LOCK_DEBUG_STAGE)`
71
72
*/
72
73
classdemote_promote_writer_readers_lock
73
74
{
@@ -78,9 +79,9 @@ class demote_promote_writer_readers_lock
* @brief Acquires lock for reading. This thread will be blocked until there are no writers (writing or pending) and no readers waiting for a writer upgrade.
@@ -300,14 +301,14 @@ class demote_promote_writer_readers_lock
0 commit comments