Automatic mutual exclusion
Abstract
An automatic mutual exclusion computer programming system is disclosed which allows a programmer to produce concurrent programming code that is synchronized by default without the need to write any synchronization code. The programmer creates asynchronous methods which are not permitted make changes to shared memory that they cannot reverse, and can execute concurrently with other asynchronous methods. Changes to shared memory are committed if no other thread has accessed shared memory while the asynchronous method executed. Changes are reversed and the asynchronous method is re-executed if another thread has made changes to shared memory. The resulting program executes in a serialized order. A blocking system method is disclosed which causes the asynchronous method to re-execute until the blocking method's predicate results in an appropriate value. A yield system call is disclosed which divides asynchronous methods into atomic fragments. When a yield method call is made, shared memory changes are committed if possible or reversed and the atomic fragment is re-executed.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 31 · Forward citations: 0.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A computer system comprising: a processor; a shared memory space accessed by first and second asynchronous methods; and memory storing executable instructions that when executed by the processor cause the processor to effectuate operations comprising: executing a call to the first asynchronous method comprising a first instruction and a second instruction, wherein the first asynchronous method accesses the shared memory space which may be used by the second asynchronous method executing in parallel to the first asynchronous method; determining that the first instruction is not permitted to be
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (31)
Non-Patent Literature (5)
- "A Shared Memory Module for Asynchronous Arrays of Processors", Michael Meeuwsen, Mar. 2007, pp. 1-13.
- "Cooperative Asynchronous Update of Shared Memory", Bogdan Chlebus, 2005, pp. 1-7.
- "Efficient Object Sharing in Shared Memory Multiprocessors", Mark Moir, 1996, pp. 1-276.
- "Efficient Software Implementation of Embedded Communication Protocol Controllers using Asynchronous Software Thread Integration with Time and Space Efficient Procedure Calls", Nagendra Kumar, Feb. 2007, pp. 1-34.
- Harris, T. et al., "Language Support for Lightweight Transactions", Oopsla, 2003, 388-402, http://delivery.acm.org.