linux下如何睡眠1ms?

答: 使用usleep接口

#include <time.h>
void main(void)
{
       usleep(1);
}

 

posted @ 2020-04-30 18:50  Jello  阅读(433)  评论(0编辑  收藏  举报