首页> 外国专利> Computer for executing I/O instructions, by emulation, in a foreign application program wherein the emulator result thread is blocked from running between processes

Computer for executing I/O instructions, by emulation, in a foreign application program wherein the emulator result thread is blocked from running between processes

机译:用于通过仿真在外部应用程序中执行I / O指令的计算机,其中仿真器结果线程被阻止在进程之间运行

摘要

A computer for executing I/O instructions, by emulation, in a foreign application program includes an emulator program which has a Send thread, a Get thread, and single Result thread. The Send thread calls into a native operating system for the computer to send data from the foreign application program to an I/O port. The Get thread calls into the native operating system to receive data from the I/O port for the foreign application program. The Result thread processes one result descriptor from the native operating system when data is sent for the Send thread, and processes another result descriptor from the native operating system when data is received for the Get thread, and is completely blocked from running on the computer between the processing of the result descriptors. These threads are cleared, asynchronously with respect to the transfer of any data, by sending a CLEAR command from the emulator to the native operating system which responds by unblocking the Result thread and sending it a dummy result descriptor.
机译:用于通过仿真在外部应用程序中执行I / O指令的计算机包括仿真器程序,该仿真器程序具有发送线程,获取线程和单个结果线程。发送线程调用计算机的本机操作系统,以将数据从外部应用程序发送到I / O端口。 Get线程调用本机操作系统,以从外部应用程序的I / O端口接收数据。当为发送线程发送数据时,结果线程处理来自本机操作系统的一个结果描述符,而当为获取线程接收数据时,则处理来自本机操作系统的另一个结果描述符,并且在两次执行之间完全阻止计算机上运行结果描述符的处理。通过从仿真器向本地操作系统发送CLEAR命令来清除与所有数据传输异步的这些线程,该命令通过取消阻塞Result线程并向其发送虚拟结果描述符来进行响应。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号