Thread-safe array building

Create nthreads() number of arrays and push to them based on threadid().

3 Likes