Notification of blocking tasks
Abstract
A computing device may be configured to generate and execute a task that includes one or more blocking constructs that each encapsulate a blocking activity and a notification handler corresponding to each blocking activity. The computing device may launch the task, execute one or more of the blocking constructs, register the corresponding notification handler for the blocking activity that will be executed next with the runtime system, perform the blocking activity encapsulated by the blocking construct to request information from an external resource, cause the task to enter a blocked state while it waits for a response from the external resource, receive an unblocking notification from an external entity, and invoke the registered notification handler to cause the task to exit the blocked state and/or perform clean up operations to exit/terminate the task gracefully.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 10 · Forward citations: 1.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method of executing a blocking task in a computing device, comprising: executing, via a processor of the computing device, a thread that performs the blocking task, wherein the blocking task defines a plurality of blocking constructs; executing a blocking construct of the plurality of blocking constructs defined within a body of the blocking task, wherein the blocking construct encapsulates a specific blocking activity and an associated notification handler; registering the associated notification handler with a runtime system of the computing device; performing the specific blocking activit
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (1 of 1 total)
| Patent | Title | Year | Citations |
|---|---|---|---|
| US 10,565,044 B2 | Message handling related to non-parallelizable functionality | 2020 | 0 |