1 A data race occurs when two threads access shared state concurrently and at least one of them writes to it without proper synchronization.
“in order to have a day or race you need at least two threads and you need some shared state and now shared state is just some data that all your bit multiple threads can see it could be one byte it could be a megabyte it doesn't really matter conceptually we're just going to think of it as some Sun box here that both of the threads can see”