发明名称 Scalable method for producer and consumer elimination
摘要 Producers and consumer processes may synchronize and transfer data using a shared data structure. After locating a potential transfer location that indicates an EMPTY status, a producer may store data to be transferred in the transfer location. A producer may use a compare-and-swap (CAS) operation to store the transfer data to the transfer location. A consumer may subsequently read the transfer data from the transfer location and store, such as by using a CAS operation, a DONE status indicator in the transfer location. The producer may notice the DONE indication and may then set the status location back to EMPTY to indicate that the location is available for future transfers, by the same or a different producer. The producer may also monitor the transfer location and time out if no consumer has picked up the transfer data.
申请公布号 US7779165(B2) 申请公布日期 2010.08.17
申请号 US20060325150 申请日期 2006.01.04
申请人 发明人 MOIR MARK S.;NUSSBAUM DANIEL S.;SHALEV ORI;SHAVIT NIR N.
分类号 G06F3/00 主分类号 G06F3/00
代理机构 代理人
主权项
地址