Commit graph

438 commits

Author SHA1 Message Date
Simon Cruanes
b466e85fb4
fixes in moonpool-io 2024-07-01 11:42:11 -04:00
Simon Cruanes
a147eeb0ab
feat: move to poll for IOs 2024-06-26 12:14:52 -04:00
Simon Cruanes
b208506841
cancellation in main 2024-06-26 11:20:29 -04:00
Simon Cruanes
b47da2396e
feat fib: add Private.cancel_from_outside 2024-06-26 11:02:14 -04:00
Simon Cruanes
11b4042707
refactor: rename moonpool-unix to moonpool-io; dep on poll 2024-06-26 10:31:23 -04:00
Simon Cruanes
d3188a95b9
rename moonpool-unix to moonpool-io, will use poll 2024-06-25 14:47:45 -04:00
Simon Cruanes
879d380faf
fix: suspend when calling accept/connect 2024-06-25 14:08:39 -04:00
Simon Cruanes
a2a0e3d306
wip 2024-06-24 12:11:44 -04:00
Simon Cruanes
a19106d74e
fix evloop: pipe draining must catch EAGAIN 2024-06-24 12:11:10 -04:00
Simon Cruanes
76a7ce0f45
lil update to Tracing_ 2024-06-24 12:11:01 -04:00
Simon Cruanes
7d306867f1
remove debug mesages 2024-06-24 11:40:36 -04:00
Simon Cruanes
f6852172e6
wip: TCP server 2024-06-24 11:24:22 -04:00
Simon Cruanes
dc5af2e7e6
more buffering 2024-06-24 10:36:51 -04:00
Simon Cruanes
1532d92540
wip: async-io 2024-06-24 10:26:51 -04:00
Simon Cruanes
ad2c45aae4
wip: moonpool-unix with idempotent-close fd 2024-06-21 17:08:12 -04:00
Simon Cruanes
dce54289ed
wip: Unix-based IO, now using iostream 2024-06-21 15:46:42 -04:00
Simon Cruanes
839a1e4717
format 2024-06-21 15:46:40 -04:00
Simon Cruanes
911f34f132
wip: tests for moonpool.unix 2024-06-21 15:22:57 -04:00
Simon Cruanes
9fd29d67f1
remove IO channels (better use iostream); make Heap private 2024-06-21 15:22:57 -04:00
Simon Cruanes
cc81d05715
wip: add moonpool.unix event loop 2024-06-21 15:22:57 -04:00
Simon Cruanes
a4db1e67be
chore: use 5.2 in CI (#28)
chore: use 5.2 in CI
2024-05-20 16:26:33 -04:00
Simon Cruanes
0750e6af41
prepare for 0.6 2024-04-02 12:51:57 -04:00
Simon Cruanes
a127a4131a
test 2024-04-02 12:51:57 -04:00
Simon Cruanes
83ada948aa
test: do not run lwt tests on mac OS for now 2024-04-02 12:51:57 -04:00
Simon Cruanes
a1814cadb4
lwt test 2024-04-02 12:51:57 -04:00
Simon Cruanes
cf6b20a979
update fiber tests to try to be more deterministic 2024-04-02 12:51:57 -04:00
Simon Cruanes
ef6811e062
do not run some tests on mac OS 2024-04-02 12:51:57 -04:00
Simon Cruanes
8e240357b5
update test outputs 2024-04-02 12:51:57 -04:00
Simon Cruanes
80e8f84703
test 2024-04-02 12:51:57 -04:00
Simon Cruanes
6981d37232
fix CI 2024-04-02 12:51:57 -04:00
Simon Cruanes
a99c0775e2
format dune files 2024-04-02 12:51:57 -04:00
Simon Cruanes
7a558bb5f3
chore: CI 2024-04-02 12:51:57 -04:00
Simon Cruanes
81b272e685
fix test 2024-04-02 12:51:57 -04:00
Simon Cruanes
ac851a6d81
fix: in Fut.await, upon failure, use resume
otherwise a fairly vicious bug happens: the await-er is resumed on the
current runner, not its native one, which can cause deadlocks as it
breaks the executors' dependency DAG. When using `resume` there is no
bug since `resume` is designed to always schedule on the correct runner.
2024-04-02 12:51:57 -04:00
Simon Cruanes
0d325741f4
add Exn_bt.pp 2024-04-02 12:51:57 -04:00
Simon Cruanes
ba1876f957
remove use of 5.1 only function 2024-03-21 17:02:03 -04:00
Simon Cruanes
8e6340846a
ensure that tests belong to the correct package 2024-03-21 10:32:41 -04:00
Simon Cruanes
54f6db0b42
test: add package 2024-03-15 00:02:42 -04:00
Simon Cruanes
53ed71db99
fix: make Fiber.check_if_cancelled fail if the fiber is not done 2024-03-14 23:47:26 -04:00
Simon Cruanes
f9aea68d61
add ?on param to Fiber.spawn 2024-03-05 09:47:31 -05:00
Simon Cruanes
f798420423
doc 2024-03-04 22:56:41 -05:00
Simon Cruanes
867444d975
perf: add Fut.raise_if_failed, use it in Fiber.check_if_cancelled 2024-03-04 22:05:47 -05:00
Simon Cruanes
86c6edffca
doc 2024-03-04 21:51:36 -05:00
Simon Cruanes
9cb10a79e6
renaming 2024-03-04 21:38:50 -05:00
Simon Cruanes
533b6e5ce2
docs 2024-03-04 21:22:41 -05:00
Simon Cruanes
3bdd269ca3
more docs, rename a function 2024-03-04 21:02:23 -05:00
Simon Cruanes
ad4ddc6816
refactor: split off domain pool to moonpool.dpool 2024-03-04 20:57:49 -05:00
Simon Cruanes
184690b21c readme 2024-03-04 20:49:34 -05:00
Simon Cruanes
c878b1a198 test for Moonpool_fib.main 2024-03-04 20:49:34 -05:00
Simon Cruanes
48fbf876dc feat: add Moonpool_fib.main
this is a convenient entrypoint for programs that use fibers. The main
thread can thus await fibers that run in the background.
2024-03-04 20:49:34 -05:00