发明名称 Method and apparatus for user level monitor implementation
摘要 Methods and apparatus for implementing an atomic monitor wait operation are disclosed. According to one aspect of the present invention, a computer-implemented method for implementing an atomic monitor wait operation includes creating a semaphore specific to a first thread. The semaphore is then placed in a wait queue associated with an object whose object lock is owned by the first thread in order to, in one implementation, preserve queue order. The first thread then exits a monitor associated with the object by, in one embodiment, releasing the object lock. The first thread then suspends execution until the semaphore receives notification that the object lock is available.
申请公布号 US6473820(B1) 申请公布日期 2002.10.29
申请号 US19990454234 申请日期 1999.12.02
申请人 SUN MICROSYSTEMS, INC. 发明人 ZHANG HONG
分类号 G06F9/46;(IPC1-7):G06F12/00;G06F13/38 主分类号 G06F9/46
代理机构 代理人
主权项
地址