'Main thread usage loop advise needed
Im building an app on Linux in C++, and I find it convenient to move all periodic tasks to other threads. This is my first multi-threaded Linux app(and basically first Linux app), and before I used to write multi-threaded apps on Windows but I always used QT, so QT main message loop were occupying main thread. But now I wont be using QT(at least for now, I dont know if there will be any graphic interface at all) and Im not sure at current stage how to use main thread, any advise?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|