Commit Graph

6 Commits

Author SHA1 Message Date
Jacek Sieka 17e8479a74
Abi fields byref (#21)
* barriers: add abi fields

...allowing compile-time sizeof discovery

* `bycopy`

* barrier init actually takes a barrier attr

* use byref for barrier

* note mapping safety issues

* add PR link
2022-07-20 09:55:42 +02:00
Jacek Sieka 2fb9bf9cc6
enable `styleCheck:usages` 2022-04-06 14:30:09 +02: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
Ștefan Talpalaru 26e3b1e15b
Nim-1.6 support (#4)
* Nim-1.6 support

* macOS fix
2022-01-03 02:31:43 +01:00
Mamy Ratsimbazafy 39b90fa4a3
Add CI (#1)
* Add CI

* fix windows dlls and nightly->devel (how to pull the nightlies?)

* Nim devel csources are broken due to  /nim/config/nim.cfg(16, 1) Error: invalid command line option: '--hint'

* some benches requires POSIX

* deactivate depth-first search bench on Windows

* rename workflow

* mistake in skipping DFS on windows

* Fix aligned allocation requirements
2021-07-01 20:24:50 +02:00
Mamy André-Ratsimbazafy 216aabe629
initial commit 2021-06-28 16:47:06 +02:00