mirror of
https://github.com/matrix-construct/construct
synced 2025-01-17 01:51:53 +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 &);
|
template<class lock> T &wait(lock &);
|
||||||
|
|
||||||
// Producer interface;
|
// Producer interface;
|
||||||
void notify(T &);
|
void expose(T &);
|
||||||
|
|
||||||
view() = default;
|
view() = default;
|
||||||
~view() noexcept;
|
~view() noexcept;
|
||||||
|
@ -66,7 +66,7 @@ noexcept
|
||||||
template<class T,
|
template<class T,
|
||||||
class mutex>
|
class mutex>
|
||||||
void
|
void
|
||||||
ircd::ctx::view<T, mutex>::notify(T &t)
|
ircd::ctx::view<T, mutex>::expose(T &t)
|
||||||
{
|
{
|
||||||
if(!waiting)
|
if(!waiting)
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Add table
Reference in a new issue