-
公开(公告)号:US20150309848A1
公开(公告)日:2015-10-29
申请号:US14262033
申请日:2014-04-25
Applicant: SONY CORPORATION
Inventor: Henrik SUNDSTROM , Anders ISBERG , Hakan GRAHN , Jan Kasper MARTINSEN
CPC classification number: G06F9/528 , G06F9/3009 , G06F9/461 , G06F9/466 , G06F9/4843 , G06F11/1407 , G06F11/1484 , G06F2201/815
Abstract: A processor device executes program code in one or more threads. The processor device detects a call of a function in one of the threads and executes the function in a further thread. Further, the processor device performs a selection between saving a state of the processor device when starting execution of the function in the further thread and not saving the state of the processor device when starting execution of the function in the further thread. In response to a conflict related to the execution of the function in the further thread, the processor device may perform a rollback to a last saved state of the processor device and execute the function in the thread in which it was called.
Abstract translation: 处理器设备在一个或多个线程中执行程序代码。 处理器设备检测其中一个线程中的功能的调用,并在另一个线程中执行该功能。 此外,处理器装置在开始执行另一线程中的功能时,在保存处理器装置的状态之间进行选择,并且在开始执行另外的线程中的功能时不处理处理器装置的状态。 响应于与另外的线程中的功能的执行有关的冲突,处理器设备可以执行回滚到处理器设备的最后保存的状态,并且在被调用的线程中执行该功能。