0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-06-26 13:58:18 +02:00

ircd::ctx: Export this_ctx down to ircd::.

This commit is contained in:
Jason Volk 2019-08-11 08:00:17 -07:00
parent 9a3f37c0af
commit a2c05437d2

View file

@ -49,6 +49,11 @@ namespace ircd::ctx
extern __thread ctx *current;
}
namespace ircd
{
namespace this_ctx = ctx::this_ctx;
}
/// This overload matches ::sleep() and acts as a drop-in for ircd contexts.
/// interruption point.
inline void