ocaml-multicore / kcas

Software Transactional Memory for OCaml
https://ocaml-multicore.github.io/kcas/
ISC License
109 stars 11 forks source link

Use `instantaneous_domain_index` in `Accumulator` #139

Closed polytypic closed 10 months ago

polytypic commented 11 months ago

This PR changes Accumulator to use instantaneous_domain_index and make the accumulator grow automatically, which eliminates the need to have the optional n_way argument.

This depends on Add instantaneous_domain_index and should not be merged before a new version of multicore-magic has been published.