有两种方法:
假设目标为 10ms:
方法1. sleep 0.01

方法2.usleep 10000   (usleep为十的负六次方秒,详细见man usleep)
posted on 2012-05-09 14:19  知识天地  阅读(52270)  评论(0编辑  收藏  举报