Jason Volk
4cd0570d56
ircd::ctx: Resolve proper future::state() in when() templates.
2018-05-05 02:00:11 -07:00
Jason Volk
8d0681e7b1
ircd::ctx: Eliminate the std future_status and simplify our real-use interfaces.
2018-04-05 22:16:32 -07:00
Jason Volk
fbb9cf0196
ircd::ctx: Cleanup/improve the shared_state states.
2018-03-15 11:59:25 -07:00
Jason Volk
da5bca588d
ircd::ctx: Have future inherit from the shared_state rather than class member.
2018-03-14 13:16:06 -07:00
Jason Volk
465e0f526c
ircd::ctx: Move when_any()/when_all() into file.
2018-03-14 11:25:53 -07:00
Jason Volk
3242c1929b
ircd::ctx: Cleanup future when suite related.
2018-03-11 14:51:14 -07:00
Jason Volk
ee48df71a8
ircd::ctx: Add future<void> already-ready constructor.
2018-03-11 13:40:24 -07:00
Jason Volk
a2be4d3ee5
ircd::ctx: Add when_any() / when_all().
2018-03-10 23:04:59 -08:00
Jason Volk
07c1356dae
ircd::ctx: Improve promise / future behaviors; cleanup.
2018-03-10 23:04:59 -08:00
Jason Volk
00ba8ebdb4
ircd::ctx: Factor shared_ptr out of promise/future.
2018-03-10 23:04:58 -08:00
Jason Volk
4fa33bdc60
Revert "ircd::ctx: Add nodejs-style future::then() rather than libstd experimental TS."
...
This reverts commit 37569559cf
.
2018-03-09 19:41:16 -08:00
Jason Volk
37569559cf
ircd::ctx: Add nodejs-style future::then() rather than libstd experimental TS.
2018-03-07 09:13:55 -08:00
Jason Volk
bc184b4d52
ircd::ctx: Have futures throw timeout exceptions by default; add nothrows.
2018-03-07 08:17:50 -08:00
Jason Volk
be624ca7f6
Update Copyrastafaris.
2018-02-05 21:24:34 -08:00
Jason Volk
43923a1cf1
ircd::ctx: Minor formatting.
2018-01-22 00:54:52 -08:00
Jason Volk
4fa7ad9286
ircd::ctx: Add use_future_t; minor cleanup.
2018-01-08 12:40:09 -08:00
Jason Volk
fbf07913f7
ircd::ctx: Minor style/format fixes.
2017-12-24 20:25:40 -07:00
Jason Volk
d9a4f06bf6
ircd: Employ namespace scope extensions from c++1z/gnu++14.
...
This is not a move to c++17. If the compiler happens to have support
for c++17 namespace scope resolution, they have been kind enough to
backport it to gnu++14. This limits our support for really old c++14
compilers, but that was limited anyway. GCC 6.1 and clang 3.6 tested.
2017-09-08 03:47:46 -07:00
Jason Volk
2f645941a8
ircd::ctx: Move ctx headers into directory.
2016-11-13 16:29:45 -08:00