Apparatus and method for removing elements from a linked list
Abstract
Methods, apparatus and computer program products for removal of elements from a linked list while other elements of the linked list are allowed to be accessed during the removal operation. In one embodiment, the method, apparatus and computer program product include identifying an add/remove area of a linked list and a static area of the linked list. Elements may only be added or removed from the linked list in the add/remove area or by a garbage collector that performs garbage collection only on elements in the static area of the linked list. The garbage collector identifies an element after the last element in the add/remove area and performs garbage collection beginning with that element and moving through the static area. In an alternative embodiment, a “next element” pointer in a previous list element is set to point to the element being deleted's “next element” pointer. Any global references to the element being deleted must be modified. A message may then be issued to the processors of a multiprocessor system at a same interrupt priority as a reading process priority. Once the processors respond to the message, garbage collection may be performed on the element to be del
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 15 · Forward citations: 12.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A computer implemented method, in a data processing system, for removing elements from a linked list in a memory device, comprising: identifying at least one first element of a plurality of elements in the linked list for removal; identifying a static area and an add/remove area of the linked list; removing the at least one first element from the static area of the linked list; and permitting an application to modify at least one second element of the plurality of elements in the add/remove area of the linked list while preventing the application from modifying at least one third element of th
- Claim 2Depends on #1
The computer implemented method of claim 1 , wherein identifying the at least one first element of the plurality o
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (12 of 12 total)
References Cited — Backward Prior Art (15)
Non-Patent Literature (1)
- Short, "Embedded Microprocessor Systems Design, An Introduction Using the Intel 80C188EB", Prentice Hall, 1998, ISBN 0-13-249467-1, p. 465.