0
0
Fork 0
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:
Jason Volk 2018-03-06 03:50:39 -08:00
parent 29f08d3615
commit 2ef5f4c72c

View file

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