Commit graph

234 commits

Author SHA1 Message Date
Simon Cruanes
b084caea69
docs 2023-06-13 13:52:22 -04:00
Simon Cruanes
d766b362f1
feat fut: add infix, builds a INFIX as a 1st class module 2023-06-12 22:06:48 -04:00
Simon Cruanes
7c853861d8
feat fut: add join 2023-06-12 22:06:43 -04:00
Simon Cruanes
0177d6aee7
fix fut: actually run all map/bind callbacks if pool is provided 2023-06-12 22:06:18 -04:00
Simon Cruanes
5e9470b750
comment 2023-06-11 00:06:50 -04:00
Simon Cruanes
e8ba4feea1
expose Atomic 2023-06-10 00:21:46 -04:00
Simon Cruanes
7ee064fc11
more docs on Blocking_queue 2023-06-10 00:06:38 -04:00
Simon Cruanes
b4f0c1572e
expose a simple blocking queue, with a controlled API. 2023-06-10 00:02:50 -04:00
Simon Cruanes
0a4d87816d
remove chan for now, not ready 2023-06-09 23:59:11 -04:00
Simon Cruanes
e820cb83ea
fix 2023-06-09 15:11:25 -04:00
Simon Cruanes
ab2d8d4956
perf: account for main domain when starting background domains 2023-06-08 15:08:07 -04:00
Simon Cruanes
ed4cc2550b
a warning in doc 2023-06-08 14:44:15 -04:00
Simon Cruanes
d2521472c0
refactor: rename little blocking queue 2023-06-08 14:22:35 -04:00
Simon Cruanes
b9ee0d71a1
add Chan, an atomic unbounded channel 2023-06-08 00:19:37 -04:00
Simon Cruanes
0b70060c40
perf pool: use relax() in spin loop 2023-06-08 00:19:24 -04:00
Simon Cruanes
259fee2722
perf fut: use Domain_.relax in spin loops 2023-06-08 00:07:54 -04:00
Simon Cruanes
bd1ada40d4
Fut: add Infix_local 2023-06-06 23:34:06 -04:00
Simon Cruanes
e618739442
s_queue: improve try_pop, add try_push 2023-06-06 23:20:52 -04:00
Simon Cruanes
adfa1e62cb
fix(pool): make sure the work queue is closed properly
this way we can't submit new jobs after the pool has been shutdown.
2023-06-05 13:04:10 -04:00
Simon Cruanes
6ffbd15a34
add Pool.size 2023-06-02 12:05:39 -04:00
Simon Cruanes
4147d29383
doc 2023-06-01 22:45:40 -04:00
Simon Cruanes
b7ba8d0e9b
doc 2023-06-01 22:37:56 -04:00
Simon Cruanes
d9eee6eb50
details 2023-06-01 22:34:14 -04:00
Simon Cruanes
2d9e834ccc
small fix 2023-06-01 22:14:44 -04:00
Simon Cruanes
d87dff529d
split into multiple files 2023-06-01 22:04:06 -04:00
Simon Cruanes
835eaf84c4
global thread loop wrappers 2023-06-01 21:54:22 -04:00
Simon Cruanes
feb3b39912
add optional wrapper for worker loop
this makes it possible to instrument the pool workers, or install
effect handlers to provide some form of `await`.
2023-06-01 21:39:36 -04:00
Simon Cruanes
5dcfab7cce
require 4.08; add infix operators; add dep on Either 2023-06-01 21:34:27 -04:00
Simon Cruanes
d7220c75f5
add start_thread_on_some_domain 2023-06-01 20:59:25 -04:00
Simon Cruanes
f9ba356657
Fut.wait_block: a bit of spinning before blocking 2023-05-31 00:58:51 -04:00
Simon Cruanes
a585cc8158
fix: uniformize domain stub 2023-05-31 00:45:43 -04:00
Simon Cruanes
22ab8e4a69
fix for ocaml 5 2023-05-31 00:34:29 -04:00
Simon Cruanes
d31a84bab4
add combinators to Fut 2023-05-30 23:51:52 -04:00
Simon Cruanes
1619f8b773
initial commit 2023-05-30 23:03:05 -04:00