0
0
Fork 0
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:
Jason Volk 2018-03-22 21:58:06 -07:00
parent 635e09c80e
commit 12e5a3ccea

View file

@ -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>