prevent code from running under a thread id which already gave ESRCH
[musl] / arch / arm / src /
2013-02-06 rofl0rarm: add __aeabi_atexit()