线程能不能在主程序中暂停,主线程用什么函数控制子线程暂停,子线程暂停后怎么恢复计算?
参考:http://blog.csdn.net/tigertianx/article/details/17436291