发明授权
- 专利标题: Reusable, operating system aware hardware mutex
- 专利标题(中): 可重复使用的操作系统感知硬件互斥体
-
申请号: US11461755申请日: 2006-08-01
-
公开(公告)号: US08321872B2公开(公告)日: 2012-11-27
- 发明人: James R. Terrell, II
- 申请人: James R. Terrell, II
- 申请人地址: US CA Santa Clara
- 专利权人: Nvidia Corporation
- 当前专利权人: Nvidia Corporation
- 当前专利权人地址: US CA Santa Clara
- 主分类号: G06F9/50
- IPC分类号: G06F9/50 ; G06F12/00 ; G06F13/00
摘要:
Hardware resources sharing for a computer system running software tasks. A controller stores records including a mutex ID tag and a waiter flag in a cache. Lock and unlock registers are readable by the controller and loadable by the tasks with a mutex ID specifying a hardware resource. The controller monitors whether the lock register for loading with a mutex ID, and then determines whether it corresponds with the tag of a record in the cache. If so, it sets the record's waiter flag. If not, it adds a record having a tag corresponding with the mutex ID. The controller also monitors whether the unlock register for loading with a mutex ID, and then determines whether it corresponds with the tag of a record in the cache. If so, it determines whether that record's waiter flag is set and, if so, it clears that record from the cache.
公开/授权文献
- US20080005741A1 REUSABLE, OPERATING SYSTEM AWARE HARDWARE MUTEX 公开/授权日:2008-01-03
信息查询