#ifndef __UT_THREAD_DECL_HPP__ #define __UT_THREAD_DECL_HPP__ #include #include #include #include #define __UT_THREAD_DECL_TMPL_FUNC_ARG__ \ template #define __UT_THREAD_TMPL_FUNC_ARG__ \ Func&& func, Args&&... args #define __UT_THREAD_BIND_FUNC_ARG__ \ std::forward(func), std::forward(args)... #define UT_CPU_ID_NONE -1 #endif//__THREAD_DECL_HPP__