发明名称 |
Method and apparatus for locking and unlocking a semaphore |
摘要 |
A data processing system that automatically changes a semaphore in response to a test and set or clear and invalidate instruction. When a device desires to either test and set or clear and invalidate a semaphore, it transfers an instruction having a test and set or clear and invalidate operation code and the address of the semaphore over the bus. The device responsible for managing the semaphore receives the instruction and automatically changes the semaphore. Therefore, a device is only required to transfer the instruction to test and set or clear and invalidate the semaphore. Moreover, because the test and set operation requires only a single instruction transfer, special techniques are not necessary to insure exclusive access to the semaphore during the operation. |
申请公布号 |
US6529933(B1) |
申请公布日期 |
2003.03.04 |
申请号 |
US19970902369 |
申请日期 |
1997.07.29 |
申请人 |
INTERNATIONAL BUSINESS MACHINES CORPORATION |
发明人 |
MONTGOMERY MICHAEL EDWARD;SHERMAN KEVIN LEE |
分类号 |
G06F9/00;G06F9/30;G06F9/46;(IPC1-7):G06F9/00 |
主分类号 |
G06F9/00 |
代理机构 |
|
代理人 |
|
主权项 |
|
地址 |
|