1> 忙等待:
1》void ndelay(unsigned long ns);
2》void udelay(unsigned long us);
3》void mdelay(unsigned long ms);
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
2> 睡眠:
1》void msleep(unsigned int ms); //不可中断
2》unsigned long msleep_interruptible(unsigned int ms); //可中断
3》void ssleep(unsigned int seconds); //不可中断,以秒为单位,调用msleep();