发明名称 |
Eliminating memory corruption when performing tree functions on multiple threads |
摘要 |
A method, system and computer program product for eliminating memory corruption when performing multi-threaded tree operations. A network processor may receive a command to perform a tree operation on a tree on one or more of multiple threads. Upon performing the requested tree operation, the network processor may lock one or more resources during a portion of the execution of the requested tree operation using one or more semaphores. A semaphore may refer to a flag used to indicate whether to "lock" or make available the resource associated with the semaphore. Locking may refer to preventing the resource from being available to other threads. Hence, by locking one or more resources during a portion of the tree operation, memory corruption may be eliminated in a multiple thread system while preventing these resources from being used by other threads for a minimal amount of time.
|
申请公布号 |
US2004032867(A1) |
申请公布日期 |
2004.02.19 |
申请号 |
US20020217529 |
申请日期 |
2002.08.13 |
申请人 |
INTERNATIONAL BUSINESS MACHINES CORPORATION |
发明人 |
BASSO CLAUDE;BROWN MATTHEW WILLIAM KILPATRICK;DAVIS GORDON TAYLOR;HEDDES MARCO;PATEL PIYUSH CHUNILAL;RANDALL GRAYSON WARREN;ROVNER SONIA KIANG;VERRILLI COLIN BEATON |
分类号 |
G06F9/46;H04L12/28;H04L12/56;(IPC1-7):H04L12/56 |
主分类号 |
G06F9/46 |
代理机构 |
|
代理人 |
|
主权项 |
|
地址 |
|