Linux0.11 sleep_on函数分析
摘要:
/* * 将当前进程设置为不可中断的睡眠状态 * 只能通过wake_up进行唤醒 * */ void sleep_on(struct task_struct **p) { struct task_struct *tmp; if (!p) return; /* * task[0]不允许睡眠 */ if 阅读全文
posted @ 2022-09-01 17:48 sudochen 阅读(238) 评论(0) 推荐(0)
浙公网安备 33010602011771号