fixed bug of thread in linux platform
add os tools
fixed bug of select worker