Replace boost::thread with pthread in render,update & vsync thread