Method and system for using the event wait list anchor as a lock for events
Abstract
A method and apparatus for maintaining a list for threads which are awaiting their occurrence of event. First a thread is detected that desires to perform some type of action based upon the occurrence of an event. Thereafter, the value of an event list anchor is set to indicate that it is currently unavailable. Thereafter, the value of the event list anchor set equal to the identification of the second thread.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 6 · Forward citations: 8.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A method of managing threads in a data processing system, comprising: detecting that a first thread desires to perform some type of action, based upon the occurrence of an event; locking an event list by setting an event list anchor equal to a first value, wherein the event list anchor is a head of the event list, and wherein the first value indicates that the event list is currently locked; and setting the event list anchor equal to an identification of the first thread, wherein said setting the event list anchor equal to the identification of the first thread causes the event list to be
- Claim 2Depends on #1
A method of managing threads according to claim 1, further comprising: upon the occurrence of the event, locking the event list by setting the event list anchor equal to the first value; making the first thread executable; and
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗