I’m new in java and android. I have a code which contains
android.os.HandlerThread. Now I need to implement this code to C++ in Windows/Linux. As far as I know the reason why we use
Handler in android is because it is related to UI.
If my C++ app doesn’t have UI, can I just replace them (including looper, message queue) with regular thread such as
std::thread ? Or
Handler has more important roles?
Source: Windows Questions C++