1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
#pragma once #include <string> namespace mbgl { namespace util { enum class ThreadPriority : bool { Regular, Low, }; struct ThreadContext { public: ThreadContext(std::string name, ThreadPriority priority = ThreadPriority::Regular); std::string name; ThreadPriority priority; }; } // namespace util } // namespace mbgl