mirror of
https://github.com/matrix-construct/construct
synced 2025-01-14 00:34:18 +01:00
ircd::ctx: Rename notify to expose.
This commit is contained in:
parent
29f08d3615
commit
2ef5f4c72c
1 changed files with 2 additions and 2 deletions
|
@ -49,7 +49,7 @@ class ircd::ctx::view
|
|||
template<class lock> T &wait(lock &);
|
||||
|
||||
// Producer interface;
|
||||
void notify(T &);
|
||||
void expose(T &);
|
||||
|
||||
view() = default;
|
||||
~view() noexcept;
|
||||
|
@ -66,7 +66,7 @@ noexcept
|
|||
template<class T,
|
||||
class mutex>
|
||||
void
|
||||
ircd::ctx::view<T, mutex>::notify(T &t)
|
||||
ircd::ctx::view<T, mutex>::expose(T &t)
|
||||
{
|
||||
if(!waiting)
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue