Multithreaded client application storing a separate context for each
transaction thus allowing threads to resume transactions started by
other client threads
    1.
    发明授权
    Multithreaded client application storing a separate context for each transaction thus allowing threads to resume transactions started by other client threads 失效
    多线程客户端应用程序为每个事务存储单独的上下文,从而允许线程恢复由其他客户端线程启动的事务

    公开(公告)号:US6119145A

    公开(公告)日:2000-09-12

    申请号:US858616

    申请日:1997-02-28

    摘要: A multithreaded client application initiates multiple database operations associated with at least one transaction. The client application allocates and stores a separate runtime context for each of the database transactions. These transaction runtime contexts are also distinct from the state information, or runtime context, of the thread initiating a particular operation of the transaction. As a result, operations started by a thread that terminates may be continued, or resumed, by a subsequent thread without having to reperform previously executed operations. The duration of the transactions' runtime context is thus decoupled from the duration of the thread's runtime context. Special syntax and routines are provided for explicitly allocating a runtime context and deallocating a runtime context.

    摘要翻译: 多线程客户端应用程序启动与至少一个事务关联的多个数据库操作。 客户端应用程序为每个数据库事务分配并存储单独的运行时上下文。 这些事务运行时上下文也不同于启动事务的特定操作的线程的状态信息或运行时上下文。 结果,由终止的线程开始的操作可以由后续线程继续或恢复,而不必重新执行先前执行的操作。 因此,事务运行时上下文的持续时间与线程的运行时上下文的持续时间相分离。 提供了特殊的语法和例程,用于明确分配运行时上下文并释放运行时上下文。

    Method for processing host language source code containing embedded
database language statements
    2.
    发明授权
    Method for processing host language source code containing embedded database language statements 有权
    处理含有嵌入式数据库语言语言的主机语言源代码的方法

    公开(公告)号:US6108660A

    公开(公告)日:2000-08-22

    申请号:US305354

    申请日:1999-05-04

    IPC分类号: G06F9/46 G06F9/45

    摘要: A method and apparatus for passing runtime contexts between threads in a multithreading application is provided. A precompiler is provided which allows programmers to declare and use runtime contexts in the same manner as other conventional variable types are declared and used. Special syntax and routines are provided for explicitly allocating a runtime context and deallocating a runtime context, thus decoupling the duration of a runtime context from the duration of the thread that initiated the operations whose states are stored in the runtime context. Consequently, operations started by a thread that terminates may be continued by a subsequent thread without having to re-perform previously executed operations. Precompiler directives are provided to explicitly state which runtime contexts will be used for certain operations. A single thread can therefore use one or more runtime contexts.

    摘要翻译: 提供了一种用于在多线程应用程序中的线程之间传递运行时上下文的方法和装置。 提供了一个预编译器,允许程序员以与其他常规变量类型声明和使用相同的方式来声明和使用运行时上下文。 提供了特殊语法和例程,用于明确分配运行时上下文并释放运行时上下文,从而将运行时上下文的持续时间与发起其状态存储在运行时上下文中的操作的线程的持续时间相分离。 因此,可以由后续线程继续由终止的线程开始的操作,而不必重新执行先前执行的操作。 提供预编译器指令以明确地说明哪些运行时上下文将用于某些操作。 因此,单个线程可以使用一个或多个运行时上下文。

    Method and mechanism for providing external procedures to a database system
    3.
    发明授权
    Method and mechanism for providing external procedures to a database system 有权
    为数据库系统提供外部程序的方法和机制

    公开(公告)号:US06725213B1

    公开(公告)日:2004-04-20

    申请号:US09429265

    申请日:1999-10-29

    IPC分类号: G06F1730

    摘要: The present invention is directed to a method and mechanism for calling on external procedure in a database system in which the external procedure contains embedded database query language statements. According to an aspect of the invention, the external procedure executes using the same database connection and transaction as the original calling entity for that external procedure.

    摘要翻译: 本发明涉及一种在数据库系统中调用外部过程的方法和机制,其中外部过程包含嵌入式数据库查询语言语句。 根据本发明的一个方面,外部过程使用与该外部过程的原始呼叫实体相同的数据库连接和事务来执行。