Patents
US 9,003,377 B2#117716741 Most CitedActiveUnited States (USPTO)Utility

Efficient resumption of co-routines on a linear stack

0Forward Citations (#117716741 Global)
0.0/yrCitation Velocity (#117716741 Global)
0.56Citation PageRank (#117716741 Global)
44Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

Unsuspended co-routines are handled by the machine call stack mechanism in which the stack grows and shrinks as recursive calls are made and returned from. When a co-routine is suspended, however, additional call stack processing is performed. A suspension message is issued, and the entire resume-able part of the call stack is removed, and is copied to the heap. A frame that returns control to a driver method (a resumer) is copied to the call stack so that resumption of the co-routine does not recursively reactivate the whole call stack. Instead the resumer reactivates only the topmost or most current frame called the leaf frame. When a co-routine is suspended, it does not return to its caller, but instead returns to the resumer that has reactivated it.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 44 · Forward citations: 0.

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A system comprising: a processor and a memory including a module configured to cause the processor to: suspend and resume co-routines comprising a calling co-routine and a called co-routine in a computer environment utilizing a single linear machine call stack not inherently capable of suspending and resuming co-routines, wherein only in response to detecting suspension of the called co-routine, the module: saves a resume-able portion of the single linear machine call stack not previously saved to a heap that emulates the single linear machine call stack but is separate from the single linear

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 (44)

PatentTitleYearCitations
US 4,667,290 ACompilers using a universal intermediate language1987340
US 5,295,256 AAutomatic storage of persistent objects in a relational schema1994537
US 5,530,870 AArrangement for efficiently transferring program execution between subprograms199627
US 5,615,332 ADebugging aid apparatus199720
US 5,630,131 AMethod and apparatus for importing and exporting archive files for a graphical user interface1997226
WO 9,727,536 A1Instruction folding for a stack-based machine—9
US 5,758,153 AObject oriented file system in an object oriented operating system1998139
US 6,006,230 ADatabase application development system with improved methods for distributing and executing objects across multiple tiers1999135
US 6,018,628 AMethod of implementing parameterized types to be compatible with existing unparameterized libraries200080
US 6,141,723 AVirtual machine system for accessing external subprogram functions200020
US 6,212,630 B1Microprocessor for overlapping stack frame allocation with saving of subroutine data into stack area200125
US 6,298,434 B1Data processing device for processing virtual machine instructions200170
US 6,311,327 B1Method and apparatus for analyzing software in a language-independent manner2001265
US 2002073133 A1Register allocation method and software development method for various execution environments and LSI for executing developed software—6
US 2002095658 A1Computer programming language statement building and information tool—349
US 2002108103 A1Intercalling between native and non-native instruction sets—26
US 2002129344 A1Optimization of n-base typed arithmetic expressions—4
US 6,453,356 B1Data exchange system and method2002325
US 2002144141 A1Countering buffer overrun security vulnerabilities in a CPU—51
US 2002188931 A1Method for unwinding a program call stack—22
US 2003014737 A1Computer method and apparatus for safe instrumentation of reverse executable program modules—12
US 2003033039 A1Hierarchical presentation techniques for a design tool—31
US 6,564,265 B2Apparatus for encoding and decoding data according to a protocol specification200328
US 2004015920 A1Object oriented apparatus and method for allocating objects on an invocation stack in a dynamic compilation environment—61
US 2004015907 A1Method and apparatus for automatic system configuration analysis using descriptors of analyzers—18
US 2004073764 A1System and method for reinforcement learning and memory management—118
US 2004128672 A1Generic program adapting general algorithm as iteration—4
US 2004194058 A1Core object-oriented type system for semi-structured data—31
US 6,826,763 B1Accelerating a distributed component architecture over a network using a direct marshaling200430
US 2004255018 A1Method and apparatus for providing universal web access functionality with port contention resolution—17

Non-Patent Literature (5)

  • "Lazy evaluation," Wikipedia, 4 pages, Retrieved Mar. 24, 2009, from .
  • "Lazy evaluation," Wikipedia, 4 pages, Retrieved Mar. 24, 2009, from <http://en.wikipedia.org/wiki/Lazy—evaluation>.
  • "Standard streams," Wikipedia, 5 pages, Retrieved Mar. 24, 2009, from .
  • "Standard streams," Wikipedia, 5 pages, Retrieved Mar. 24, 2009, from <http://en.wikipedia.org/wiki/Standard—streams>.
  • "Stream (computing)0," Wikipedia, 1 page, Retrieved Mar. 24, 2009, from .