发明名称 CROSS-THREAD EXCEPTION HANDLING
摘要 A system for providing cross-exception event handling is provided. The system allows a source thread to throw an event (e.g., exception) as part of structured event handling of a programming language that specifies a target thread. When the event is thrown, the source thread starts a handler thread to handle the event in a current context of the target thread. The handler thread is passed an indication of the event and the target thread and sets its context to be consistent with that of handling events in the target thread. The handler thread then handles the event. The source thread may continue its execution in parallel or may terminate its execution as specified in a statement that threw the event. Execution of the target thread may be aborted and its execution continued at an exit statement of an enclosing structured event handling construct—as specified when the event was thrown.
申请公布号 US2015169388(A1) 申请公布日期 2015.06.18
申请号 US201314133384 申请日期 2013.12.18
申请人 Cray Inc. 发明人 Hildebrandt Thomas H.
分类号 G06F9/54;G06F9/48 主分类号 G06F9/54
代理机构 代理人
主权项 1. A method performed by a computing system for providing cross-thread event handling, the method comprising: under control of a source thread, executing an event creation statement of a programming language that specifies a target thread, the executing including starting a handler thread to handle the event in a current structured event handling context of the target thread.
地址 Seattle WA US