Method and system for robust futexes
Abstract
An embodiment relates to a method of managing primitives. The method includes providing a data structure available in user-space where the data structure comprises at least one futex. The method also includes detecting a termination of the process and searching the data structure for status of the at least one futex. The method further includes releasing the at least one futex in response to status of the at least one futex being held and setting a flag for at least one futex. The method further includes notifying at least one process waiting for the released at least one futex.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 6 · Forward citations: 4.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method of managing futex primitives, the method comprising: Providing a private data structure in user-space, the private data structure being private to a first computer process and comprising at least one futex, wherein each futex serves as a lock on a resource provided by a computer system; Registering the private data structure by the first computer process; Linking a pending entry data structure to the private data structure; Setting a pending entry flag in the pending entry data structure, wherein the pending entry flag indicates that the first computer process is about to acquire a se
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (4 of 4 total)
References Cited — Backward Prior Art (6)
Non-Patent Literature (2)
- Bohannon et al., "Recoverable User-Level Mutual Exclusion", AT&T Bell Laboratories, Oct. 1995.
- Franke, Hubertus, "Fuss, Futexes and Furwocks: Fast USerlevel Locking in Linux", Publsihed: Jun. 29, 2002 at the Ottawa Linux Symposium, pertinent pp. 479-494 of Ottawa Linux Symposium (Jun. 26-29, 2002).