首页> 外国专利> Program execution management using process enclaves which define the scope of high-level language semantics and threads improving cooperation between processes written in multiple languages

Program execution management using process enclaves which define the scope of high-level language semantics and threads improving cooperation between processes written in multiple languages

机译:使用流程飞地的程序执行管理定义了高级语言语义和线程的范围,从而改善了以多种语言编写的流程之间的协作

摘要

A method and system for managing computer program execution is implemented in a set of callable run-time support services which allow processes written in single or multiple languages to cooperate and behave in a predictable and orderly manner. Three key program execution constructs are defined: process, enclave, and thread. The process is the highest level construct of the program execution. It consists of one or more enclaves. The enclave defines the scope of execution semantics defined by the high level languages. This includes the scope of application termination and the scope of name resolution for shared data, files and procedures. The enclave consists of one or more threads. The thread is the basic program execution unit with its own state of execution. A thread may execute concurrently with other threads. A thread may consist of a series of call invocations of procedures. These procedures may be written in different high level languages. The callable services provide means For creating and terminating these constructs. A request to terminate a process results in termination of all the enclaves (including threads) in the process. Terminating an enclave terminates all threads in the enclave. The termination request may be combined with signaling a termination condition allowing execution of registered condition handling exit routines.
机译:在一组可调用的运行时支持服务中实现了一种用于管理计算机程序执行的方法和系统,该服务可允许以一种或多种语言编写的进程进行协作并以可预测和有序的方式运行。定义了三个关键程序执行构造:进程,安全区和线程。该过程是程序执行的最高层次的构造。它由一个或多个飞地组成。飞地定义了高级语言定义的执行语义的范围。这包括应用程序终止的范围以及共享数据,文件和过程的名称解析的范围。飞地由一个或多个螺纹组成。线程是具有自己执行状态的基本程序执行单元。一个线程可以与其他线程同时执行。线程可以由一系列过程的调用调用组成。这些过程可以用不同的高级语言编写。可调用服务提供了用于创建和终止这些构造的方法。终止进程的请求导致终止该进程中的所有区域(包括线程)。终止安全区将终止安全区中的所有线程。终止请求可以与发信号通知终止条件相结合,以允许执行已注册条件处理退出例程。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号