N:1 threads library for C