minimum thread library for windows & linux, in C