attempt to implement more current thread primitives
#include <threads.h> thrd_t _thrd_root; size_t _thrd_stacksize=16*1024;