发明名称 Method for resource lock/unlock capability in multithreaded computer environment
摘要 Hybrid lock and unlock capabilities are provided for a threaded computing environment. For example, kernel locking services are selectively employed in conjunction with functions in the POSIX threads standard to provide a lock capability and an unlock capability. The hybrid approach determines which lock scheme to employ by evaluating whether one thread or multiple threads concurrently desire a resource lock. When only one thread desires the lock, the thread is directly assigned resource ownership employing one of an operating system primitive lock process or a hardware lock process. An alternate lock process is used to obtain resource ownership when multiple threads concurrently desire the lock. This alternate process employs at least one function in the POSIX threads standard to implement a queue of waiting threads. A similar hybrid approach to the unlock capability is also provided.
申请公布号 US6112222(A) 申请公布日期 2000.08.29
申请号 US19980139816 申请日期 1998.08.25
申请人 INTERNATIONAL BUSINESS MACHINES CORPORATION 发明人 GOVINDARAJU, RAMA K.;KON, ELIZABETH ANNE;STRAUB, ROBERT MICHAEL;TUEL, JR., WILLIAM G.
分类号 G06F9/38;G06F9/46;(IPC1-7):G06F9/00 主分类号 G06F9/38
代理机构 代理人
主权项
地址