The STUDIA UNIVERSITATIS BABEŞ-BOLYAI issue article summary

The summary of the selected article appears at the bottom of the page. In order to get back to the contents of the issue this article belongs to you have to access the link from the title. In order to see all the articles of the archive which have as author/co-author one of the authors mentioned below, you have to access the link from the author's name.

 
       
         
    STUDIA INFORMATICA - Issue no. 2 / 2023  
         
  Article:   ON COMPOSING ASYNCHRONOUS OPERATIONS.

Authors:  RADU LUPȘA, DANA LUPȘA.
 
       
         
  Abstract:  
DOI: 10.24193/subbi.2023.2.03

Published Online: 2023-12-22
pp. 41-52

VIEW PDF


FULL PDF

Asynchronous operations are very useful for actions that wait for an external event or work for a long time, to avoid blocking the thread that launches them. Unfortunately, whether they report their termination via callbacks or via completing a future, composing several asynchronous calls is difficult and error prone. The continuations mechanism (provided, for example, in C# Task Parallel Library via ContinueWith()) offers limited support for scheduling a sequence of operations. In this paper we try to improve this mechanism with better support for sequencing operations and exceptions, and with support for conditionals and loops, while covering the specifics of a C++ implementation. The most recent version of our source code is at [14].

Received by the editors: 28 February 2023.


2010 Mathematics Subject Classification. 68N19, 68Q85.

1998 CR Categories and Descriptors. D.3.3 [Software]: Programming Languages – Language Constructs and Features; D.1.3 [Software]: Programming Techniques – Language Concurrent Programming; D.2.2 [Software]: Software Engineering – Design Tools and Techniques.

Keywords and phrases: asynchronous programming.
 
         
     
         
         
      Back to previous page