don't crash if TLS library is loaded into process with no thread pointer
[musl] / include / sys / eventfd.h
2011-05-08 Rich Felkereventfd syscall wrapper and read/write wrappers