Safeishly use non-reentrant libraries with POSIX threads (by runxiyu) — discussion

#c