KissThreading.jl
KissThreading.jl copied to clipboard
KissThreading relies on @threads implementation details
See here. This applies to tmap, tmapreduce, getrange. Especially getrange is broken, it will give wrong results if a threadid is used multiple times.
I don't think tmap and tmapreduce make any assumption about the threadid. getrange is not used anywhere.
tmap and tmapreduce are correct, but waste performance. I cannot imagine a non broken use case of the current getrange. It is used in the tests and all uses in the tests are broken.