mirror of
https://github.com/matrix-construct/construct
synced 2024-12-28 00:14:07 +01:00
ircd::ctx: Export this_ctx down to ircd::.
This commit is contained in:
parent
9a3f37c0af
commit
a2c05437d2
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue