mirror of
https://github.com/matrix-construct/construct
synced 2024-09-26 02:18:53 +02:00
ircd::ctx: Make promise/future accessible in ircd::.
This commit is contained in:
parent
b9f13ed2c2
commit
5936504f3b
1 changed files with 3 additions and 0 deletions
|
@ -127,6 +127,9 @@ namespace ircd
|
||||||
using ctx::timeout;
|
using ctx::timeout;
|
||||||
using ctx::context;
|
using ctx::context;
|
||||||
using ctx::sleep;
|
using ctx::sleep;
|
||||||
|
|
||||||
|
using ctx::promise;
|
||||||
|
using ctx::future;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// An instance of critical_assertion detects an attempt to context switch
|
/// An instance of critical_assertion detects an attempt to context switch
|
||||||
|
|
Loading…
Reference in a new issue