Simon Cruanes
2aa2612963
doc for Fut
2025-10-25 21:50:46 -04:00
Simon Cruanes
f92efa562d
doc
2025-10-25 21:50:46 -04:00
Simon Cruanes
d957f7b54e
small refactor
github pages / Deploy doc (push) Has been cancelled
Build and Test / build (push) Has been cancelled
Build and Test / build-compat (push) Has been cancelled
Build and Test / format (push) Has been cancelled
2025-10-25 21:46:20 -04:00
Simon Cruanes
a26503df0b
refactor chan; fix bug in Chan.try_push
...
we could return `false` even though we succeeded in pushing a value into
the chan.
2025-10-25 21:21:03 -04:00
Simon Cruanes
92300ad698
fix: make Moonpool_lwt.fut_of_lwt idempotent
...
github pages / Deploy doc (push) Has been cancelled
Build and Test / build (push) Has been cancelled
Build and Test / build-compat (push) Has been cancelled
Build and Test / format (push) Has been cancelled
this way the resulting future can be cancelled/fulfilled from
the outside without crashing Lwt
2025-10-07 13:53:54 -04:00
Simon Cruanes
538f3df31a
doc correction
github pages / Deploy doc (push) Has been cancelled
Build and Test / build (push) Has been cancelled
Build and Test / build-compat (push) Has been cancelled
Build and Test / format (push) Has been cancelled
2025-10-02 14:37:15 -04:00
Simon Cruanes
dbc099052d
CI
github pages / Deploy doc (push) Has been cancelled
Build and Test / build (push) Has been cancelled
Build and Test / build-compat (push) Has been cancelled
Build and Test / format (push) Has been cancelled
2025-09-30 11:26:05 -04:00
Simon Cruanes
8d99628f03
remove deprecated moonpool-io and moonpool.sync
2025-09-30 11:24:53 -04:00
Simon Cruanes
0e5a2896ef
prepare for 0.9
github pages / Deploy doc (push) Waiting to run
Build and Test / build (push) Waiting to run
Build and Test / build-compat (push) Waiting to run
Build and Test / format (push) Waiting to run
2025-09-29 08:51:42 -04:00
Simon Cruanes
9601621ebc
opam fixes
2025-09-29 08:51:42 -04:00
Simon Cruanes
70018423ff
fix build
2025-09-26 15:44:21 -04:00
Simon Cruanes
64c3442078
more doc
2025-09-26 15:44:21 -04:00
Simon Cruanes
03f8ccd030
CI
2025-09-26 15:44:21 -04:00
Simon Cruanes
d98dadeb84
Merge pull request #37 from c-cube/simon/lwt-main-runner-2025-07-09
...
change moonpool-lwt to make it a lwt-engine based runner
2025-09-26 15:04:48 -04:00
Simon Cruanes
d79200f555
Merge pull request #39 from c-cube/simon/reduce-scope-2025-07-09
...
reduce scope of the library a bit
2025-09-26 15:02:01 -04:00
Simon Cruanes
2dbbad4ef2
refactor moonpool_lwt
2025-09-26 14:55:26 -04:00
Simon Cruanes
677ae5c36a
perf: fast path for Moonpool_lwt.run_in_lwt_and_await
2025-09-26 14:55:26 -04:00
Simon Cruanes
4e19719c4f
modify signature for Moonpool_lwt.run_in_lwt_and_await
2025-09-26 14:55:26 -04:00
Simon Cruanes
4f685313de
detail
2025-09-26 14:55:26 -04:00
Simon Cruanes
8bd79c70b5
add Moonpool_lwt.on_lwt_thread
2025-09-26 14:55:26 -04:00
Simon Cruanes
f245f4913c
add Moonpool_lwt.spawn_lwt_ignore
2025-09-26 14:55:26 -04:00
Simon Cruanes
2aabc30b70
fix test
2025-09-26 14:55:26 -04:00
Simon Cruanes
a42737aa81
format
2025-09-26 14:55:25 -04:00
Simon Cruanes
bf649f5348
fix test
2025-09-26 14:55:25 -04:00
Simon Cruanes
44edf60836
fix tests
2025-09-26 14:55:25 -04:00
Simon Cruanes
86b64ae3d4
fix lwt: make sure to wakeup loop in main
...
there's a race condition where, by the time we schedule the
main fiber in `lwt_main`, the event loop is already asleep (maybe
from a previous run). We make sure to wake the loop up.
2025-09-26 14:55:25 -04:00
Simon Cruanes
01026fafaa
doc
2025-09-26 14:55:25 -04:00
Simon Cruanes
2afb5c1036
adapt some tests for the lwt runner
2025-09-26 14:55:25 -04:00
Simon Cruanes
9e814ecb48
lwt: handle fibers in moonpool_lwt
2025-09-26 14:55:25 -04:00
Simon Cruanes
00078d8b43
update test
2025-09-26 14:55:25 -04:00
Simon Cruanes
e3be2aceaa
feat lwt: make sure we can setup/cleanup multiple times
2025-09-26 14:55:25 -04:00
Simon Cruanes
1eef212a3e
more sanity checks
2025-09-26 14:55:25 -04:00
Simon Cruanes
63559f0f3b
detail
2025-09-26 14:55:25 -04:00
Simon Cruanes
6c8c06b391
update lwt test
2025-09-26 14:55:25 -04:00
Simon Cruanes
122b3a6b06
feat lwt: make most functions work on any thread, not just the main
2025-09-26 14:55:25 -04:00
Simon Cruanes
786d75d680
comments/license for the Lwt hash server
2025-09-26 14:55:25 -04:00
Simon Cruanes
50b9dd9b62
fix CI for lwt tests
2025-09-26 14:55:25 -04:00
Simon Cruanes
da551edbd3
fix lwt tests
2025-09-26 14:55:25 -04:00
Simon Cruanes
6ae82f130a
feat lwt: proper wakeup; add lwt_main_runner
2025-09-26 14:55:25 -04:00
Simon Cruanes
0fecde07fc
test: update Lwt tests to use the new Moonpool_lwt
2025-09-26 14:55:25 -04:00
Simon Cruanes
a24bd7472d
feat worker_loop: always use reschedule in await
...
it's better than continuing right now because it will potentially
reschedule on the correct runner.
2025-09-26 14:55:25 -04:00
Simon Cruanes
796c4f6f31
feat lwt: improvements
2025-09-26 14:55:25 -04:00
Simon Cruanes
f53dbe4dda
cleanup worker loop
2025-09-26 14:55:25 -04:00
Simon Cruanes
e09c809a45
deprecate moonpool.sync
2025-09-26 14:55:25 -04:00
Simon Cruanes
f5993408c0
wip: debug echo server
2025-09-26 14:55:24 -04:00
Simon Cruanes
6c4fb69d23
wip: lwt
2025-09-26 14:55:24 -04:00
Simon Cruanes
72d8c09898
wip
2025-09-26 14:55:24 -04:00
Simon Cruanes
543135a0b0
wip: echo server using lwt
2025-09-26 14:55:24 -04:00
Simon Cruanes
295f22e770
wip: lwt
2025-09-26 14:55:24 -04:00
Simon Cruanes
bf90c32c86
wip lwt: event loop for moonpool directly inside lwt
2025-09-26 14:55:24 -04:00