linux下如何睡眠1ms?

答: 使用usleep接口

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

猜你喜欢

转载自www.cnblogs.com/dakewei/p/12810705.html