prevent code from running under a thread id which already gave ESRCH
[musl] / arch / microblaze / atomic.h
2012-09-29 Rich Felkermicroblaze port