0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-09-29 20:28:52 +02: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.
///
/// 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>