Simon Cruanes
0959004b11
document how many threads are used for work in Ws_pool
2025-11-19 12:24:33 -05:00
Simon Cruanes
75e528413b
remove mentions of ocaml4 in readme
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-11-14 22:56:37 -05:00
Simon Cruanes
4de33f0121
prepare for 0.10
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-11-13 20:27:01 -05:00
Simon Cruanes
58a0f891f7
Merge pull request #36 from c-cube/simon/fix-35
...
fix domain pool: block signals in background threads
2025-11-13 19:58:54 -05:00
Simon Cruanes
b1688f71e7
more signal handling
2025-11-13 19:53:02 -05:00
Simon Cruanes
794b263d36
improve lock
2025-11-13 19:50:40 -05:00
Simon Cruanes
a40ea8b41b
avoid recursion in dpool
2025-11-13 19:46:56 -05:00
Simon Cruanes
40e97d969a
fix domain pool: block signals in background threads
...
close #35
2025-11-13 19:46:56 -05:00
Simon Cruanes
c3f235f7e9
Merge pull request #40 from c-cube/simon/reduce-scope-round2
...
reduce scope again: remove structured concurrency-based fibers
2025-11-13 19:40:37 -05:00
Simon Cruanes
0b28898586
rename
2025-11-13 19:39:57 -05:00
Simon Cruanes
997d996c13
fix test
2025-11-12 09:10:52 -05:00
Simon Cruanes
ee7972910f
breaking: remove around_task from schedulers
2025-11-12 00:25:02 -05:00
Simon Cruanes
2ce3fa7d3e
docs
2025-11-12 00:25:02 -05:00
Simon Cruanes
8770d4fb9c
repro for #41
2025-11-12 00:25:02 -05:00
Simon Cruanes
95de0e7e27
test: update readme and the mdx test
2025-10-25 21:50:47 -04:00
Simon Cruanes
4924b5f52b
test: update tests, removing the fibers and cancellation tests
2025-10-25 21:50:47 -04:00
Simon Cruanes
db9cddf999
feat core: add Main, salvaged from moonpool.fib
2025-10-25 21:50:46 -04:00
Simon Cruanes
f9ab951c36
remove moonpool.fib
...
it's complicated and hard to use in practice, because it's not obvious
if a piece of code is running under another fiber or not, so
`Fiber.spawn` might fail because it has no parent.
So in practice we've been using `Fiber.spawn_top`… which has no
interest over just using `Fut.spawn`.
2025-10-25 21:50:46 -04:00
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