add Thread module for windows platform
fixed bug of thread for windows platform
add implementation of Thread module for linux platform