Changes are specific to MIPS architecture
indent to match previous line
I suggest to use clang-format (in Google mode) when working on sanitizer code
This entire test is equivalent to the following:
You don't even need to spawn a new thread, as this should hold in the main thread as well.
This relies on the assumption that pthread_self() will return exactly the value of THREAD_SELF. This is currently true for all platforms, and will likely remain so. As long as we rely on that fact, we can probably just use pthread_self() in the code and move the THREAD_SELF computation into the test. I can do that in a separate change.