Some Problems with the Realtime Features of Modula-2

G. M. Mohay,K. J Gough,W. Pease

Some Problems with the Realtime Features of Modula-2(1991)

引用 23|浏览2
暂无评分
摘要
The unit of pseudo-parallelism in Modula-2 is the coroutine; coroutines switch control to one another through use of coroutine transfer operations. Standard Modula-2 supports three different coroutine transfer operations -- TRANSFER, IOTRANSFER and tile asynchronous transfer --- and provides a module priority mechanism to ensure, inter alia, that interrupts occurring during execution of all i/o (interrupt handier) coroutine are only recognised if they are of higher priority than the interrupt already being serviced. A modified set of Modula-2 coroutine transfer operations, prototyped using tile PDP-11 M23 Modula-2 system, has: been described previously. That model included the new primitive operation AttachInterrupt which effectively replaces IOTRANSFER, leading to an arguably simpler and more elegant structure for real-time pseudo-parallel Modula-2 programs. That model has now been extended to incorporate the additional primitive frictions Priority and Previous, respectively. The former allows a real-time coroutine to interrogate tile priority of all interrupted coroutine, while tile letter is invoked by a real-time coroutine in order to determine the identify of that interrupted coroutine. This paper discusses the rationale for the extended model, illustrates its use and describes its implementation in one of tile most popular Modula-2 systems in use today, the Logitech Version 3 compiler for tire IBM PC.
更多
查看译文
关键词
Modula-2 program,Realtime Features,Standard Modula-2,Modula-2 system,real-time coroutine,tile PDP-11 M23 Modula-2,interrupted coroutine,Modula-2 coroutine transfer operation,different coroutine transfer operation,tile asynchronous,coroutine transfer operation
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络
Chat Paper
正在生成论文摘要