Commit Graph

6 Commits

Author SHA1 Message Date
Jacek Sieka ffba691216
fix Flowvar allocation (#33)
* fix Flowvar allocation

* flowvar was allocating the wrong size for the spsc channel
* refactor channel to use an ordinary type for its buffer simplifying
construction / allocation, remove 256-byte limitation
* fix under-aligned allocation in channel test
2023-07-25 18:58:30 +03:00
Jacek Sieka 2067764521
fork std/tasks, stricter exceptions (#34) 2023-07-05 11:46:36 +02:00
tersec 5551f10490
remove Nim 1.2 and Nim 1.4 support (#32)
* remove Nim 1.2 and Nim 1.4 support

* re-add std/tasks shims

* remove shim again
2023-06-27 09:45:06 +00:00
Mamy Ratsimbazafy 79c18d7c94
Polish (#7)
* add fibonacci bench https://github.com/status-im/nim-taskpools/issues/5

* unify allocs, don't use a mix of calloc malloc and wv_alloc

* Chase-Lev Deque: "unlimited" growth

* Remove affinity / CPU pinning support: does not work for ARM (Big.Little Arch), macOS, Alder Lake (P and E cores) and multiple instances of a program get the main thread pinned on the same core.

* Remove weave-specific things: WV_NUM_THREADS, the design-by-contract asserts

* avoid running destructors on freshly allocated tasks on Nim 1.6
2022-01-16 08:57:06 +01:00
Mamy André-Ratsimbazafy a1e350094b
Setup tests 2021-07-01 10:51:35 +02:00
Mamy André-Ratsimbazafy 216aabe629
initial commit 2021-06-28 16:47:06 +02:00