sleep函数

Linux下:

#include <unistd.h>

sleep(1); // 睡眠1秒

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

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