在Linux中避免进程的无效唤醒  

Avoid Lost Wake-Up in Linux

在线阅读下载全文

作  者:曾月天[1] 罗怡桂[1] 

机构地区:[1]同济大学软件学院,上海201804

出  处:《电脑知识与技术》2006年第2期144-145,147,共3页Computer Knowledge and Technology

摘  要:在操作系统中,正在执行的进程在某些条件不满足的情况下需要进入睡眠状态从而让其他进程可以使用处理器资源。Linux是一个支持对称多处理器的操作系统,由于进程的并发能力,Linux中的进程有时可能会遇到无效唤醒的问题。本文展示了Linux中进程无效唤醒问题的发生,提出了相应的解决方案,最后以Linux内核源代码为例进行说明。In operating systems,the executing process may go to sleep in order to let other processes use the processor resource when the needed conditions can not be achieved. Linux is one of the operating systems that support SMP technology, because of its parallel running capability the processes in Linux may sometimes meet lost wake-up problem. This aticle shows how the problem take place and present method to resolve this problem, and then take some Linux kernel codes for example to validate it.

关 键 词:进程 睡眠 唤醒 无效唤醒 

分 类 号:TP316[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象