mirror of
https://github.com/matrix-construct/construct
synced 2025-01-14 00:34:18 +01:00
ircd::ctx: Update stale comment.
This commit is contained in:
parent
635e09c80e
commit
12e5a3ccea
1 changed files with 3 additions and 3 deletions
|
@ -27,9 +27,9 @@ namespace ircd::ctx
|
|||
/// queue mechanism using only context switching.
|
||||
///
|
||||
/// The producer is blocked until all consumers are finished with their view.
|
||||
/// The consumers acquire the unique_lock before passing it to the call to wait().
|
||||
/// wait() returns with a view of the object under unique_lock. Once the
|
||||
/// consumer releases the unique_lock the viewed object is not safe for them.
|
||||
/// The consumers lock the mutex before passing it to the call to wait().
|
||||
/// wait() returns with a view of the object under lock. Once the consumer
|
||||
/// releases their lock the viewed object is not safe for them.
|
||||
///
|
||||
template<class T,
|
||||
class mutex>
|
||||
|
|
Loading…
Reference in a new issue