发明申请
- 专利标题: System and Method for Synchronization Between Concurrent Transactions Using Transaction Condition Variables
- 专利标题(中): 使用事务条件变量并发事务同步的系统和方法
-
申请号: US13170026申请日: 2011-06-27
-
公开(公告)号: US20120311273A1公开(公告)日: 2012-12-06
- 发明人: Virendra J. Marathe , Victor M. Luchangco
- 申请人: Virendra J. Marathe , Victor M. Luchangco
- 主分类号: G06F12/00
- IPC分类号: G06F12/00
摘要:
The systems and methods described herein may extend transactional memory implementations to support transaction communicators and/or transaction condition variables for which transaction isolation is relaxed, and through which concurrent transactions can communicate and be synchronized with each other. Transactional accesses to these objects may not be isolated unless called within communicator-isolating transactions. A waiter transaction may invoke a wait method of a transaction condition variable, be added to a wait list for the variable, and be suspended pending notification of a notification event from a notify method of the variable. A notifier transaction may invoke a notify method of the variable, which may remove the waiter from the wait list, schedule the waiter transaction for resumed execution, and notify the waiter of the notification event. A waiter transaction may commit only if the corresponding notifier transaction commits. If the waiter transaction aborts, the notification may be forwarded to another waiter.
公开/授权文献
信息查询