-
1.
公开(公告)号:US20140189693A1
公开(公告)日:2014-07-03
申请号:US13893631
申请日:2013-05-14
Applicant: Apple Inc.
Inventor: Benjamin C. Trumbull , Adam C. Swift , Russell A. Blaine , Benjamin H. Nham , Kari E. Christianson
IPC: G06F9/46
CPC classification number: G06F9/466 , G06F9/526 , G06F2209/522 , G06F2209/523
Abstract: An operating system of a data processing system receives a request from a first process to acquire an exclusive lock for accessing a resource of the data processing system. A second priority of a second process is increased to reduce total execution time. The second process is currently in possession of the exclusive lock for performing a transactional operation with the resource. The second priority was lower than a first priority of the first process. The operating system notifies the second process to indicate that another process is waiting for the exclusive lock to allow the second process to complete or roll back the transactional operation and to release the exclusive lock thereafter.
Abstract translation: 数据处理系统的操作系统从第一进程接收到获取用于访问数据处理系统的资源的排他锁的请求。 增加第二个进程的第二个优先级,以减少总执行时间。 第二个进程当前拥有执行与该资源的事务操作的排他锁。 第二个优先次序低于第一个进程的第一优先事项。 操作系统通知第二进程以指示另一进程正在等待排他锁以允许第二进程完成或回滚事务操作并且此后释放排他锁。
-
2.
公开(公告)号:US09400677B2
公开(公告)日:2016-07-26
申请号:US13893631
申请日:2013-05-14
Applicant: Apple Inc.
Inventor: Benjamin C. Trumbull , Adam C. Swift , Russell A. Blaine , Benjamin H. Nham , Kari E. Christianson
CPC classification number: G06F9/466 , G06F9/526 , G06F2209/522 , G06F2209/523
Abstract: An operating system of a data processing system receives a request from a first process to acquire an exclusive lock for accessing a resource of the data processing system. A second priority of a second process is increased to reduce total execution time. The second process is currently in possession of the exclusive lock for performing a transactional operation with the resource. The second priority was lower than a first priority of the first process. The operating system notifies the second process to indicate that another process is waiting for the exclusive lock to allow the second process to complete or roll back the transactional operation and to release the exclusive lock thereafter.
Abstract translation: 数据处理系统的操作系统从第一进程接收到获取用于访问数据处理系统的资源的排他锁的请求。 增加第二个进程的第二个优先级,以减少总执行时间。 第二个进程当前拥有执行与该资源的事务操作的排他锁。 第二个优先次序低于第一个进程的第一优先事项。 操作系统通知第二进程以指示另一进程正在等待排他锁以允许第二进程完成或回滚事务操作并且此后释放排他锁。
-