摘要
多个任务的并发执行是计算机操作系统的一个主要特征,为了满足Windows下分时多任务,或实时多任务应用系统的开发,给出通过C程序设计对操作系统中多任务并发执行设计模式开发,提出Windows下利用时钟中断方式进行多任务并发执行的方法。该模式实现系统内多任务在宏观上的"同时"运行,解决Windows环境下用户应用开发自己的分时,或实时多任务应用系统的一般方法和结构。
The concurrent execution of multitask is an important feature in any operating system.Thus,in order to meet the needs of the development of applying system from time-sharing or real-time multitask under Windows,shows the development scheme of concurrent execution of multitask by C programming in the Windows operating system.Also,presents a method of concurrent execution of multitask using clock interruption based on Windows.The scheme realizes simultaneous execution of multitask in a system,which works out the general method and structure of multitask of time-sharing or real-time based on Windows for user-application system.
出处
《现代计算机》
2011年第16期73-75,80,共4页
Modern Computer
关键词
多任务
并发
中断
时钟
Multitask
Concurrency
Interruption
Clock