sleep函数

Linux下:

#include <unistd.h>

sleep(1); // 睡眠1秒

usleep(1); // 睡眠1微妙

posted @ 2016-04-01 20:46  LarryKnight  阅读(159)  评论(0)    收藏  举报