discard """ matrix: "--mm:arc; --mm:orc" """ import std/[atomics, typedthreads] const numChunks = 23 # More than the allocator's bounded drain can process. var pointers: array[numChunks, pointer] allocated: Atomic[bool] continueAllocating: Atomic[bool] proc allocPointers() {.thread.} = for i in 0..