发明申请
US20070043916A1 System and method for light weight task switching when a shared memory condition is signaled
审中-公开
当共享内存条件发出信号时,用于轻量级任务切换的系统和方法
- 专利标题: System and method for light weight task switching when a shared memory condition is signaled
- 专利标题(中): 当共享内存条件发出信号时,用于轻量级任务切换的系统和方法
-
申请号: US11204424申请日: 2005-08-16
-
公开(公告)号: US20070043916A1公开(公告)日: 2007-02-22
- 发明人: Maximino Aguilar , Michael Norman Day , Mark Richard Nutter
- 申请人: Maximino Aguilar , Michael Norman Day , Mark Richard Nutter
- 主分类号: G06F12/00
- IPC分类号: G06F12/00
摘要:
A system and method for using a handler to detect asynchronous lock line reservation lost events, and switching tasks based upon whether a condition is true or a mutex lock is acquired is presented. A synergistic processing unit (SPU) invokes a first thread and, during execution, the first thread requests external data that is shared with other threads or processors in the system. This shared data may be protected with a mutex lock or other shared memory synchronization constructs. When requested data is not available, the SPU switches to a second thread and monitors lock line reservation lost events in order to check when the data is available. When the data is available, the SPU switches back to the first thread and processes the first thread's request.
信息查询