mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 21:37:44 +00:00
Currently mThread is started in initializer list, but not in constructor, when the thread starts in initializer list, not all class members are init yet (depends on the order of class member declarations). And mThread will use class members. Putting mThread to starts in constructor ensures all class member variables are init before thread starts. Bug: 231737939 Test: build Change-Id: I4033efa9f13c2ece95c4b4f99f8c88b6d4816be1