The use of .race to allow concurrent calculations means that multiple 'workers' will be updating @trials simultaneously. To avoid race conditions, the ⚛++ operator is used, which guarantees safe updates without the use of locks. That is turn requires declaring that array as being composed of atomicint.