- Mastering C++ Multithreading
- Maya Posch
- 135字
- 2021-07-15 17:33:57
Other applications
The example in this chapter is primarily useful for applications where data or tasks have to be handled in parallel. For the earlier mentioned use case of a GUI-based application with business logic and network-related features, the basic setup of a main application, which launches the required threads, would remain the same. However, instead of having each thread to be the same, each would be a completely different method.
For this type of application, the thread layout would look like this:

As the graphic shows, the main thread would launch the GUI, network, and business logic thread, with the latter communicating with the network thread to send and receive data. The business logic thread would also receive user input from the GUI thread, and send updates back to be displayed on the GUI.
- Web交互界面設計與制作(微課版)
- R語言數據可視化實戰
- 高級C/C++編譯技術(典藏版)
- TypeScript圖形渲染實戰:基于WebGL的3D架構與實現
- FLL+WRO樂高機器人競賽教程:機械、巡線與PID
- Highcharts Cookbook
- C語言課程設計
- Apache Kafka Quick Start Guide
- jQuery Mobile移動應用開發實戰(第3版)
- 響應式架構:消息模式Actor實現與Scala、Akka應用集成
- App Inventor創意趣味編程進階
- Learning Hadoop 2
- 小程序從0到1:微信全棧工程師一本通
- AMP:Building Accelerated Mobile Pages
- SQL Server 2012 數據庫應用教程(第3版)