This is good introduction of C++ multi threading
https://blog.csdn.net/ouyangfushu/article/details/80199140
-------------------------------------------------------------------------------------------------------
how to use member function as thread call back
https://shengyu7697.github.io/blog/2020/02/04/std-thread/
---------------------------------------------------------------------------------------------------------
if need to use Pthread on Linux, requires:
TARGET_LINK_LIBRARIES(GYMotors
pthread
)
-----------------------------------------------------------------------