while (timeout) { set_current_state(TASK_UNINTERRUPTIBLE); timeout = schedule_timeout(timeout); }
while (timeout) timeout = schedule_timeout_uninterruptible(timeout);
void msleep(unsigned int msecs){	unsigned long timeout = msecs_to_jiffies(msecs) + 1;	while (timeout) {		set_current_state(TASK_UNINTERRUPTIBLE);		timeout = schedule_timeout(timeout);	}}