Commit graph

498 commits

Author SHA1 Message Date
Simon Cruanes
a5740468f5
Merge fc5fd996fc into 867cbd2318 2025-09-04 20:03:38 +00: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
Some checks failed
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}
Some checks failed
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
Some checks failed
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
Simon Cruanes
f0ea8c294d
single system call for signal blocking 2025-03-13 15:42:04 -04:00
Simon Cruanes
dd88008a0a
fix: do not die if we fail to block a signal 2025-03-13 10:45:21 -04:00
Simon Cruanes
c51a0a6bd4
don't try to block sigstop 2025-03-13 10:45:01 -04:00
Simon Cruanes
deb96302e1
mli for worker loop 2025-03-13 10:07:39 -04:00
Simon Cruanes
a20208ec37
feat: block signals in workers if asked to 2025-03-13 10:07:20 -04:00
Simon Cruanes
389f237993
CI
Some checks failed
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-02-21 14:02:05 -05:00
Simon Cruanes
06f3bdadb9
CI 2024-12-04 11:09:26 -05:00
Simon Cruanes
e481c48fe5
relax bound on picos to 0.5-0.6 2024-12-04 11:04:44 -05:00