Simon Cruanes
3cbd16b57b
Merge f041520b82 into 867cbd2318
2025-09-05 17:07:42 +00:00
Simon Cruanes
f041520b82
fix test
2025-09-05 13:07:36 -04:00
Simon Cruanes
c2e6ffa369
format
2025-09-05 13:05:44 -04:00
Simon Cruanes
d4f9d99676
fix test
2025-09-05 12:58:09 -04:00
Simon Cruanes
8c96bebcec
fix tests
2025-09-05 12:55:05 -04:00
Simon Cruanes
bdc7c42cbf
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-05 12:54:20 -04:00
Simon Cruanes
5c26061782
doc
2025-09-05 10:23:45 -04:00
Simon Cruanes
9067c6bf0c
adapt some tests for the lwt runner
2025-09-05 10:23:24 -04:00
Simon Cruanes
52bf102fda
lwt: handle fibers in moonpool_lwt
2025-09-05 10:23:06 -04:00
Simon Cruanes
fc5fd996fc
update test
2025-09-04 16:03:31 -04:00
Simon Cruanes
3b61d4294f
feat lwt: make sure we can setup/cleanup multiple times
2025-09-04 16:03:06 -04:00
Simon Cruanes
47138b4241
more sanity checks
2025-09-04 15:32:32 -04:00
Simon Cruanes
1c794e1e42
detail
2025-09-04 14:47:02 -04:00
Simon Cruanes
4286eedeec
update lwt test
2025-09-04 14:46:53 -04:00
Simon Cruanes
2396e56c63
feat lwt: make most functions work on any thread, not just the main
2025-09-04 14:46:35 -04:00
Simon Cruanes
820de8e054
comments/license for the Lwt hash server
2025-07-11 10:52:03 -04:00
Simon Cruanes
c526d3dfb9
fix CI for lwt tests
2025-07-10 09:02:34 -04:00
Simon Cruanes
3ffb581c28
fix lwt tests
2025-07-10 08:49:30 -04:00
Simon Cruanes
5176f1956f
feat lwt: proper wakeup; add lwt_main_runner
2025-07-09 22:48:48 -04:00
Simon Cruanes
3c7cf2394a
test: update Lwt tests to use the new Moonpool_lwt
2025-07-09 22:06:34 -04:00
Simon Cruanes
5e29f6fc2e
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-07-09 22:05:36 -04:00
Simon Cruanes
e6eb0240d1
feat lwt: improvements
2025-07-09 22:05:15 -04:00
Simon Cruanes
be3e0d8443
cleanup worker loop
2025-07-09 21:00:11 -04:00
Simon Cruanes
07235f0515
deprecate moonpool.sync
2025-07-09 20:39:59 -04:00
Simon Cruanes
62df67db61
wip: debug echo server
2025-07-09 18:31:27 -04:00
Simon Cruanes
62267f42ff
wip: lwt
2025-07-09 18:31:24 -04:00
Simon Cruanes
d9d7ca98b7
wip
2025-07-09 17:43:49 -04:00
Simon Cruanes
1e79fbeb14
wip: echo server using lwt
2025-07-09 17:43:06 -04:00
Simon Cruanes
648c830393
wip: lwt
2025-07-09 17:43:03 -04:00
Simon Cruanes
f8bdad01b3
wip lwt: event loop for moonpool directly inside lwt
2025-07-09 17:24:49 -04:00
Simon Cruanes
f3c7a1522d
core: cleanup, and add a fined grained API for worker loop
2025-07-09 17:24:29 -04:00
Simon Cruanes
2c1def188a
breaking: require OCaml 5
2025-07-09 16:44:12 -04:00
Simon Cruanes
b9bbcf82f7
test do not need preprocessor anymore
2025-07-09 16:43:51 -04:00
Simon Cruanes
0ab99517d5
benchs: no preprocessor anymore
2025-07-09 16:41:05 -04:00
Simon Cruanes
41561c3bff
deprecated moonpool_io
2025-07-09 16:25:10 -04:00
Simon Cruanes
50a44a76e1
forkjoin not longer optional
2025-07-09 16:25:03 -04:00
Simon Cruanes
f6ad345f31
fib: remove preprocessor
2025-07-09 16:24:49 -04:00
Simon Cruanes
f8d5c564de
remove version-dependent preprocessor
2025-07-09 15:42:23 -04:00
Simon Cruanes
2dcc858384
remove Atomic stubs, we're already depending on >4.12
2025-07-09 15:39:26 -04:00
Simon Cruanes
83acc18d3d
deprecate fibers
2025-07-09 15:28:33 -04:00
Simon Cruanes
5ea9a3f587
remove bounded_queue
2025-07-09 15:28:25 -04:00
Simon Cruanes
867cbd2318
fix core: better repropagating of errors
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-06-20 16:49:27 -04:00
Simon Cruanes
eba239487c
add Fut.{cancel,try_cancel}
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-05-21 11:48:12 -04:00
Simon Cruanes
213d9bdd19
revert previous delayed await
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-05-02 13:04:04 -04:00
Simon Cruanes
bb9418d86a
format with 0.27
2025-05-02 10:58:50 -04:00
Simon Cruanes
d50c227578
perf: await on immediately ready timer queues its task
2025-05-02 10:51:46 -04:00
Simon Cruanes
b46a048401
feat: add Moonpool.yield on ocaml 5
...
a mere alias to Picos.Fiber.yield
2025-05-02 10:33:30 -04:00
Simon Cruanes
ed0eda226c
prepare for 0.8
2025-04-17 16:35:19 -04:00
Simon Cruanes
2b00a0cea1
feat(exn_bt): in show/pp, do print the backtrace when present
2025-04-15 10:10:02 -04:00
Simon Cruanes
3a5eaaa44d
api(fut): public alias 'a Fut.t = 'a Picos.Computation.t
2025-03-19 17:40:17 -04:00