跳到主要内容

Course content

The course material is structured into three sections:

  1. Message Acquisition and Processing:
  • Detailed examination of the handle_reply() function;
  • Acquisition of skills in processing messages received as responses;
  • Testing of the developed program.
  1. Asynchronous Logic Utilizing the Waiting List:
  • Introduction to the exec::wait() and exec::wake() functions;
  • Mastery of halting message processing and awakening it as necessary;
  • Analysis of scenarios where responses are not received and resolution using the exec::wait_for() function;
  • Testing of the implemented programs.
  1. Handling of Delayed Messages:
  • In-depth exploration of delayed messages;
  • Resolution of issues related to the absence of responses through the use of delayed messages;
  • Testing of the program featuring delayed messages.