mirror of
https://github.com/matrix-construct/construct
synced 2024-11-17 23:40:57 +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.
|
/// queue mechanism using only context switching.
|
||||||
///
|
///
|
||||||
/// The producer is blocked until all consumers are finished with their view.
|
/// 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().
|
/// The consumers lock the mutex before passing it to the call to wait().
|
||||||
/// wait() returns with a view of the object under unique_lock. Once the
|
/// wait() returns with a view of the object under lock. Once the consumer
|
||||||
/// consumer releases the unique_lock the viewed object is not safe for them.
|
/// releases their lock the viewed object is not safe for them.
|
||||||
///
|
///
|
||||||
template<class T,
|
template<class T,
|
||||||
class mutex>
|
class mutex>
|
||||||
|
|
Loading…
Reference in a new issue