Add async programming

This commit is contained in:
Angelos Chalaris
2018-09-01 14:13:38 +03:00
parent 1185125208
commit 74c97f6094
2 changed files with 5 additions and 1 deletions

View File

@ -0,0 +1,4 @@
### Asynchronous programming
Asynchronous programming is a style of parallel programming, using separate threads for separate units of work.
The main benefits of asynchronous programming are improved application performance and responsiveness.

View File

@ -1,4 +1,4 @@
### Event-driven-programming
### Event-driven programming
Event-driven programming is a programming paradigm in which the flow of the program is determined by events (e.g. user actions, thread messages, sensor outputs).
In event-driven applications, there is usually a main loop that listens for events and trigger callback functions accordingly when one of these events is detected.