libthread is common API to threading in Windows