From a2c05437d2ac6c8da64d159d5fa083b1d6ec52cf Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Sun, 11 Aug 2019 08:00:17 -0700 Subject: [PATCH] ircd::ctx: Export this_ctx down to ircd::. --- include/ircd/ctx/this_ctx.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/ircd/ctx/this_ctx.h b/include/ircd/ctx/this_ctx.h index ebae88bab..aa653ba92 100644 --- a/include/ircd/ctx/this_ctx.h +++ b/include/ircd/ctx/this_ctx.h @@ -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