Simon Cruanes
50a6c6f8c5
wip: tests for moonpool.unix
2024-02-08 20:40:41 -05:00
Simon Cruanes
43cd6035db
TEMP: printf
2024-02-08 20:39:35 -05:00
Simon Cruanes
03676f2e3d
wip: moonpool_unix
2024-02-08 20:39:35 -05:00
Simon Cruanes
57be8f2130
main module
2024-02-08 20:39:35 -05:00
Simon Cruanes
9e2026e462
cleanup
2024-02-08 20:39:35 -05:00
Simon Cruanes
56c32ff5a0
add moonpool.unix with a basic event loop
2024-02-08 20:39:35 -05:00
Simon Cruanes
c3ef591231
fix in task local storage
2024-02-08 20:39:35 -05:00
Simon Cruanes
bed47fc795
expose Tracing
2024-02-07 23:18:24 -05:00
Simon Cruanes
373a8c0f3b
restore DLA
2024-02-07 23:17:01 -05:00
Simon Cruanes
f0f90d2651
cleanup
2024-02-07 23:17:01 -05:00
Simon Cruanes
fdea3797e7
feat: add structured concurrency moonpool.fib
2024-02-07 23:17:00 -05:00
Simon Cruanes
a69b6b8204
fix
2024-02-07 23:17:00 -05:00
Simon Cruanes
dabfd83e14
fix
2024-02-07 23:17:00 -05:00
Simon Cruanes
039b08e810
details in test
2024-02-07 23:17:00 -05:00
Simon Cruanes
f5e94496f5
fixes
2024-02-07 23:17:00 -05:00
Simon Cruanes
c05a38d617
add task_local_storage to core, modify how suspend works
2024-02-07 23:17:00 -05:00
Simon Cruanes
f84414a412
feat: add Exn_bt to core
2024-02-07 23:17:00 -05:00
Simon Cruanes
ed711fdc82
make moonpool.forkjoin optional (only on OCaml >= 5.0)
2024-02-07 23:17:00 -05:00
Simon Cruanes
1a1687fce9
doc
2024-02-07 23:17:00 -05:00
Simon Cruanes
1cddaf48a6
fix readme
2024-02-07 23:17:00 -05:00
Simon Cruanes
d751e560e8
remove deprecated Moonpool.Pool
2024-02-07 23:17:00 -05:00
Simon Cruanes
b6d48a141f
breaking: move fork-join into sub-library moonpool.forkjoin
2024-02-07 23:17:00 -05:00
Simon Cruanes
c1bee6fbd3
CI
2024-02-07 23:16:59 -05:00
Simon Cruanes
a47654b492
fix
2024-02-07 23:16:59 -05:00
Simon Cruanes
8ca3a87fe8
more internal refactor
2024-02-07 23:16:59 -05:00
Simon Cruanes
cb843d44e3
split into moonpool.private and moonpool; format; remove DLA
2024-02-07 23:16:59 -05:00
Simon Cruanes
e56dbc6a09
fix build
2024-02-07 15:49:01 -05:00
Simon Cruanes
6d92d14fcb
CI
2024-02-07 15:32:44 -05:00
Simon Cruanes
27b213e30f
tracing: add optional name for pools
2024-02-07 13:31:48 -05:00
Simon Cruanes
6ed870aa9c
Merge pull request #19 from c-cube/wip-tracing-support
...
wip: tracing support
2024-02-06 22:24:10 -05:00
Simon Cruanes
8d83d5b691
perf: reduce size of Fut again
2024-01-30 17:06:20 -05:00
Simon Cruanes
4abc334ab3
fix
2024-01-30 16:38:31 -05:00
Simon Cruanes
8e9564a6f7
compat
2024-01-30 16:26:29 -05:00
Simon Cruanes
ef7d370060
more tracing for Fut
2024-01-30 16:25:31 -05:00
Simon Cruanes
192f866ea1
chore: install depopts in CI
2024-01-30 16:12:14 -05:00
Simon Cruanes
dd9206b5b8
use new tracing support in tests and benchs
2024-01-30 16:12:03 -05:00
Simon Cruanes
092ad5f2ce
feat: support for trace as a depopt
...
one can now give tasks an optional string "name". If `Trace`
is present (installed) and enabled, this results in
a span around the task's execution. This also plays ok
with `await` and other effect-based primitives.
2024-01-30 16:10:11 -05:00
Simon Cruanes
469cb89ecd
feat: add Fut.Advanced.barrier_on_abstract_container_of_futures
...
this is a good building block for waiting on multiple futures.
2023-12-22 13:14:05 -05:00
Simon Cruanes
6aa8a2e7d2
try to speed up CI
2023-12-06 21:44:42 -05:00
Simon Cruanes
0e6e581f63
update opam file
2023-12-04 00:20:27 -05:00
Simon Cruanes
15e314129f
Merge branch 'br-0.5.1'
2023-11-27 22:13:34 -05:00
Simon Cruanes
019cea2d5c
prepare for 0.5.1
2023-11-24 23:59:10 -05:00
Simon Cruanes
a540c091e6
fix too early exit in Ws_pool
...
when shutting down the pool, workers should check `self.active`
only when they have no local task, failed to steal tasks,
and found the main queue to be empty. Basically we check `self.active`
only just before we wait on the condition.
2023-11-24 23:58:08 -05:00
Simon Cruanes
9513b82bd0
update test
2023-11-24 23:58:03 -05:00
Simon Cruanes
dd81def70a
add another test
2023-11-24 23:57:59 -05:00
Simon Cruanes
2d306c91b2
fix too early exit in Ws_pool
...
when shutting down the pool, workers should check `self.active`
only when they have no local task, failed to steal tasks,
and found the main queue to be empty. Basically we check `self.active`
only just before we wait on the condition.
2023-11-24 23:12:22 -05:00
Simon Cruanes
16663651d6
update test
2023-11-24 23:12:20 -05:00
Simon Cruanes
b58041153a
add another test
2023-11-24 22:56:33 -05:00
Simon Cruanes
1c94c59d88
feat: add Fut.map_list
2023-11-17 12:41:29 -05:00
Simon Cruanes
9de83bde6a
changelog
2023-11-08 15:02:32 -05:00