Patent ID: 8689215
Filing Date: 2014-04-01
Classification: G06F

Abstract:
1. A method, comprising: executing, on a first thread unit, an instruction that causes a user level exception, wherein the first thread unit is an application managed sequencer that is sequestered from an operating system; in response to said user level exception, triggering a transfer of control to a second thread unit, wherein the second thread unit is an operating system managed sequencer that is not sequestered from the operating system; saving, prior to said transfer of control, a first state of the second thread unit; re-executing said instruction on said second thread unit, so as to cause said user level exception on said second thread unit; executing a first portion of user level exception handler code on the second thread unit in response to said user level exception on the second thread unit, wherein the user level exception handler code includes dispatch processing code; returning, after executing the first portion of user level exception handler code on the second thread unit, a current state of the second thread unit to the first thread unit; returning control to the first thread unit; executing at least a portion of said dispatch processing code and a second portion of the user level exception handler code on said first thread unit; and restoring, after executing the first portion of the user level exception handler code, the second thread unit to the first state.