Commit graph

468 commits

Author SHA1 Message Date
Simon Cruanes
0b8415436f
chore: CI 2024-09-03 09:07:42 -04:00
Simon Cruanes
3df7c8bef9
update to merged picos PR 2024-09-03 09:07:08 -04:00
Simon Cruanes
12978d424d
fix 2024-08-30 13:29:32 -04:00
Simon Cruanes
76a881ebc9
fix: LS.get shouldn't raise 2024-08-30 13:28:54 -04:00
Simon Cruanes
3193a259ad
fix: catch TLS.Not_set 2024-08-30 13:27:04 -04:00
Simon Cruanes
704ebdae58
feat: add moonpool.sync with await-friendly abstractions
based on picos_sync
2024-08-30 13:18:06 -04:00
Simon Cruanes
83f0355c10
require OCaml 4.14 :/ 2024-08-30 13:00:26 -04:00
Simon Cruanes
b81ab9ffef
chore: CI 2024-08-30 12:56:00 -04:00
Simon Cruanes
0da3ce4e72
fix test for FLS
use the inheritable keys
2024-08-30 12:51:38 -04:00
Simon Cruanes
c03949dbd9
chore: depend on hmap for tests 2024-08-30 12:51:30 -04:00
Simon Cruanes
164440fdd9
feat: add Fls.with_in_local_hmap 2024-08-30 12:51:16 -04:00
Simon Cruanes
940ab83dd6
fix 2024-08-30 12:42:02 -04:00
Simon Cruanes
fb8b612ffb
chore: CI 2024-08-30 12:37:04 -04:00
Simon Cruanes
5d731a9b73
format 2024-08-30 12:35:49 -04:00
Simon Cruanes
5463a1a909
chore: try to fix CI 2024-08-30 12:33:30 -04:00
Simon Cruanes
0545a39aff
add Task_local_storage.remove_in_local_hmap 2024-08-30 09:46:49 -04:00
Simon Cruanes
7df8c069ed
refactor: move optional hmap FLS stuff into core/task_local_storage 2024-08-30 09:43:41 -04:00
Simon Cruanes
328ecf4ea5
change API for local FLS hmap 2024-08-29 16:07:27 -04:00
Simon Cruanes
44e335e0b0
feat: move hmap-fls to Fiber.Fls 2024-08-29 16:05:01 -04:00
Simon Cruanes
24a8a85481
chore: depend on picos explicitly 2024-08-29 16:01:55 -04:00
Simon Cruanes
cdb80c8ed5
format 2024-08-29 15:55:54 -04:00
Simon Cruanes
e53986d7b4
feat: optional dep on hmap, for inheritable FLS data 2024-08-29 15:55:31 -04:00
Simon Cruanes
8712fc5b51
use exn_bt, not picos.exn_bt 2024-08-29 15:43:50 -04:00
Simon Cruanes
40ed8f3cd2
bump minimal OCaml version to 4.13 2024-08-29 13:08:51 -04:00
Simon Cruanes
21f34473b0
fixes after reviews 2024-08-29 13:08:43 -04:00
Simon Cruanes
993ee3a197
test: re-enable t_fib1 but with a single core fifo pool
it should be deterministic now!
2024-08-29 10:39:17 -04:00
Simon Cruanes
10f77d218a
more CI 2024-08-29 10:02:29 -04:00
Simon Cruanes
914bf9f6ba
chore: fix CI by installing picos first 2024-08-29 09:46:39 -04:00
Simon Cruanes
31bc5bec82
format 2024-08-29 09:41:26 -04:00
Simon Cruanes
a36342dce2
fix pool: only return No_more_tasks when local and global q empty 2024-08-29 09:36:13 -04:00
Simon Cruanes
b0e4fa4563
fix fut: trigger failing to attach doesn't signal it 2024-08-29 09:36:13 -04:00
Simon Cruanes
6e05b928ed
test: wip porting tests 2024-08-29 09:36:13 -04:00
Simon Cruanes
07a7fc3a1c
wip: port to picos 2024-08-29 09:36:12 -04:00
Simon Cruanes
a0068b09b3
details 2024-08-29 09:35:16 -04:00
Simon Cruanes
e1105f4a88
feat fut: add on_result_ignore 2024-08-29 09:35:16 -04:00
Simon Cruanes
6b81d1fca9
github actions 2024-08-29 09:35:16 -04:00
Simon Cruanes
9fb23bed4c
refactor core: use picos for schedulers; add Worker_loop_
we factor most of the thread workers' logic in `Worker_loop_`,
which is now shared between Ws_pool and Fifo_pool
2024-08-29 09:35:16 -04:00
Simon Cruanes
c73395635b
gitignore 2024-08-29 09:35:16 -04:00
Simon Cruanes
2780b156eb
detail in fut 2024-08-29 09:35:16 -04:00
Simon Cruanes
b9c3e1fc7e
feat fut: wrap picos computations 2024-08-29 09:35:16 -04:00
Simon Cruanes
5cdda79098
disable t_fib1 test, way too flaky 2024-08-29 09:35:16 -04:00
Simon Cruanes
f93248a867
wip: use picos computations 2024-08-29 09:35:16 -04:00
Simon Cruanes
465919ae34
non optional dependency on thread-local-storage
it's a dep of picos anyway
2024-08-29 09:35:16 -04:00
Simon Cruanes
dd60666676
refactor: remove dla 2024-08-29 09:35:16 -04:00
Simon Cruanes
f1ff17dbd6
feat: depend on picos, use picos.exn_bt 2024-08-29 09:35:16 -04:00
Simon Cruanes
e3f11be0b3
fix related to TLS 2024-08-27 10:15:40 -04:00
Simon Cruanes
14fdee0593
compat 2024-08-26 11:23:54 -04:00
Simon Cruanes
444f8a3acc
fix with actual TLS release 2024-08-26 11:20:27 -04:00
Simon Cruanes
265d4f73dd
move to thread-local-storage 0.2 with get/set API 2024-08-16 10:07:51 -04:00
Simon Cruanes
3388098fcc
smol comment on OCaml 4 2024-06-26 11:30:29 -04:00