Jason Volk
|
4c5891e354
|
ircd::ctx: Block the caller after submit when parallel saturated.
|
2018-12-26 17:35:49 -08:00 |
|
Jason Volk
|
b0d5e5d4c8
|
ircd::ctx: Improve ctx::parallel template.
|
2018-12-26 17:19:03 -08:00 |
|
Jason Volk
|
3d79c94bb2
|
ircd::ctx: Add ctx::parallel device.
|
2018-12-24 18:36:56 -08:00 |
|
Jason Volk
|
9f70ce1b28
|
ircd::ctx: Add pool::min() convenience.
|
2018-12-24 16:20:03 -08:00 |
|
Jason Volk
|
387e8b8eed
|
ircd::ctx: Improve pool loop; improve log msg; add interruption point.
|
2018-12-24 12:06:05 -08:00 |
|
Jason Volk
|
b8fd399bf4
|
ircd::ctx: Remove this export down to ircd::.
|
2018-12-23 15:23:53 -08:00 |
|
Jason Volk
|
29e7fa3515
|
ircd::ctx: Use closure for continuation.
|
2018-12-22 21:03:14 -08:00 |
|
Jason Volk
|
37ba013413
|
ircd::ctx: Simplify continuation; eliminate to_asio derived type.
|
2018-12-22 20:11:00 -08:00 |
|
Jason Volk
|
365cf865d0
|
ircd::ctx: Various improvements/reorg of continuation/to_asio.
|
2018-12-22 17:24:48 -08:00 |
|
Jason Volk
|
d5ffc6b0de
|
ircd::ctx: Improve prof related; add full ticker of counters.
|
2018-12-22 15:17:18 -08:00 |
|
Jason Volk
|
39d4f2fb83
|
ircd::ctx: Expose the profile state struct in the prof:: interface.
|
2018-12-22 13:47:13 -08:00 |
|
Jason Volk
|
a590ad1a03
|
ircd::ctx: Another attempt at using continuation dtor as an interruption point.
|
2018-12-22 13:36:48 -08:00 |
|
Jason Volk
|
f9ee616a9a
|
ircd::ctx::prof: Use a profile instance as a totals counter.
|
2018-12-21 11:55:43 -08:00 |
|
Jason Volk
|
9d7a53ae49
|
ircd::ctx: Move resume-interruption point to this_ctx::wait() suite.
|
2018-12-20 13:27:21 -08:00 |
|
Jason Volk
|
a7b2f76c11
|
ircd::ctx: Add slice_usage_warning device.
|
2018-12-17 16:20:53 -08:00 |
|
Jason Volk
|
4686139f8e
|
ircd::ctx: Rework the prof stack to make a public test interface.
|
2018-12-17 15:24:41 -08:00 |
|
Jason Volk
|
ba10948e9d
|
ircd::ctx: Move principal interruption point into continuation.
|
2018-12-16 18:37:51 -08:00 |
|
Jason Volk
|
2a23d9e6dd
|
ircd::ctx: Add more interface access to pool/queue; various cleanup.
|
2018-12-16 16:27:11 -08:00 |
|
Jason Volk
|
72859c650b
|
ircd::ctx: Convert various name character strings to string_view.
|
2018-12-16 16:27:11 -08:00 |
|
Jason Volk
|
ad46a3e49a
|
ircd::ctx: Relax object permissions.
|
2018-12-15 23:05:48 -08:00 |
|
Jason Volk
|
399198deac
|
ircd::ctx: Add flags for slice and stack usage watchdog exemption.
|
2018-12-13 16:21:54 -08:00 |
|
Jason Volk
|
4a2ad1c186
|
ircd::ctx: Reorg continuation for core wakeup conditions.
|
2018-12-07 12:31:30 -08:00 |
|
Jason Volk
|
9eabd745f5
|
ircd::ctx: Minor cleanup.
|
2018-12-07 12:03:25 -08:00 |
|
Jason Volk
|
3af70e75c3
|
ircd::ctx: Minor cleanup / struct packing / type.
|
2018-12-07 10:13:29 -08:00 |
|
Jason Volk
|
4e01d2c0a4
|
ircd::ctx: Remove local typedef to use outer ircd:: typedef.
|
2018-12-07 10:13:14 -08:00 |
|
Jason Volk
|
ce237e0b10
|
ircd::ctx: Export this_ctx:: to ircd.
|
2018-12-06 19:16:47 -08:00 |
|
Jason Volk
|
0c4e39b023
|
ircd::ctx: Relax assertion.
|
2018-12-05 15:15:36 -08:00 |
|
Jason Volk
|
c74debac01
|
ircd::ctx: Cleanup / fixes for critical assertion related.
|
2018-11-29 16:12:33 -08:00 |
|
Jason Volk
|
c891b82ebd
|
ircd::ctx: Relayout members for package.
|
2018-11-15 18:46:40 -08:00 |
|
Jason Volk
|
48a15e026b
|
ircd::ctx::prof: Convert the settings into conf items.
|
2018-11-14 18:45:10 -08:00 |
|
Jason Volk
|
9222de0b34
|
ircd::ctx: Add access to rdtsc through ctx::prof; minor comments.
|
2018-11-14 16:55:46 -08:00 |
|
Jason Volk
|
fea02ba300
|
ircd::ctx::latch: Minor rename; add explicit move semantic.
|
2018-11-13 19:05:16 -08:00 |
|
Jason Volk
|
67e6c63580
|
ircd::ctx: Add additional shared_mutex timed functionality.
|
2018-11-13 19:05:16 -08:00 |
|
Jason Volk
|
fe45b08f8a
|
ircd::ctx: Refactor mutexes to reuse ctx::dock for queueing.
|
2018-11-13 19:05:16 -08:00 |
|
Jason Volk
|
8cbb354c64
|
ircd::ctx: Fix move assignment semantics.
|
2018-11-13 19:05:16 -08:00 |
|
Jason Volk
|
bbe676a392
|
ircd::ctx: Split this_ctx devices into files; minor interface tweaks.
|
2018-11-11 14:13:37 -08:00 |
|
Jason Volk
|
a91cdeec0c
|
ircd::ctx: Reorg / abstract / deinline promise related.
|
2018-10-30 12:18:16 -07:00 |
|
Jason Volk
|
3ffb91d0fd
|
ircd::ctx: Deinline to_asio continuation ctor.
|
2018-10-21 01:09:07 -07:00 |
|
Jason Volk
|
10d59dec9a
|
ircd::ctx::dock: Make notify() an unconditional notify rather than direct jump.
|
2018-10-21 01:00:41 -07:00 |
|
Jason Volk
|
66a936233a
|
ircd::ctx::queue: Add waiter counter.
|
2018-10-21 00:44:07 -07:00 |
|
Jason Volk
|
f369af944b
|
ircd::ctx: Remove unused peek.
|
2018-10-06 22:16:37 -07:00 |
|
Jason Volk
|
d13ed5854b
|
ircd::ctx::queue: Remove exception assertion on pops.
|
2018-09-19 01:44:13 -07:00 |
|
Jason Volk
|
592ad284f9
|
ircd::ctx::queue: Simplify pops; universal push.
|
2018-09-18 23:53:44 -07:00 |
|
Jason Volk
|
d2fbc30d4e
|
ircd::ctx: Use better notify member here.
|
2018-09-18 21:41:21 -07:00 |
|
Jason Volk
|
be7a20d39a
|
ircd::ctx: Move any renotifying to the ctx::dock itself.
|
2018-09-18 21:35:27 -07:00 |
|
Jason Volk
|
3b960d2576
|
ircd: Add misc assertions.
|
2018-09-18 21:24:19 -07:00 |
|
Jason Volk
|
5698637dd6
|
ircd::ctx::pool: Use ctx::queue for pool's queue.
|
2018-09-18 16:45:04 -07:00 |
|
Jason Volk
|
a66c312c92
|
ircd::ctx::queue: Renotify the dock on context interruption, then propagate.
|
2018-09-18 16:43:50 -07:00 |
|
Jason Volk
|
7d94b1c17b
|
ircd: Relax noexcept in std::function template declarations.
|
2018-09-13 05:12:25 -07:00 |
|
Jason Volk
|
5e06c4795b
|
ircd: Replace any std::uncaught_exception() -> std::uncaught_exceptions().
|
2018-09-13 05:02:24 -07:00 |
|