Adds stronger tests for the allocator. In parallel, make a series of allocations, write some data, free and check data, and free it. It sleeps randomly between each step to make the test less deterministic (to reflect real-world use-case).
Works without issue for 128 threads. Should work for higher, 128 was chosen as an assumed real-world worst-case.
Adds stronger tests for the allocator. In parallel, make a series of allocations, write some data, free and check data, and free it. It sleeps randomly between each step to make the test less deterministic (to reflect real-world use-case).
Works without issue for 128 threads. Should work for higher, 128 was chosen as an assumed real-world worst-case.