发明名称 DEALLOCATION OF COMPUTER DATA IN A MULTITHREADED COMPUTER
摘要 An apparatus, program product and method support the deallocation of a data structure in a multithreaded computer without requiring the use of computationally expensive semaphores or spin locks. Specifically, access to a data structure is governed by a shared pointer that, when a request is received to deallocate the data structure, is initially set to a value that indicates to any thread that later accesses the pointer that the data structure is not available. In addition, to address any thread that already holds a copy of the shared pointer, and thus is capable of accessing the data structure via the shared pointer after the initiation of the request, all such threads are monitored to determine whether any thread is still using the shared pointer by determining whether any thread is executing program code that is capable of using the shared pointer to access the data structure. Once this condition is met, it is ensured that no thread can potentially access the data structure via the shared pointer, and as such, the data structure may then be deallocated.
申请公布号 US2008046889(A1) 申请公布日期 2008.02.21
申请号 US20070926967 申请日期 2007.10.29
申请人 INTERNATIONAL BUSINESS MACHINES CORPORATION 发明人 ARMSTRONG WILLIAM J.;HEYRMAN PETER J.;NAYAR NARESH
分类号 G06F9/46;G06F15/16 主分类号 G06F9/46
代理机构 代理人
主权项
地址