Utilities for shared memory parallelism in Julia