I was wondering whether or not two threads could modify elements of the same array.
If I have unsigned char array[4], can thread1 set array[0] and array[1] to 'A' and thread2 set array[2] and array[3] to 'B' at the same time without problems?