Considering the following code, I have been unable to figure out why am I seeing a race condition. I am fully aware that the code is shit in all aspects, so no need to comment o