nim_duilib/tool_kits/shared/threads.h
2019-04-19 17:19:57 +08:00

19 lines
499 B
C
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#ifndef SHARED_THREADS_H_
#define SHARED_THREADS_H_
// thread ids
enum ThreadId
{
kThreadBegin = -1,//线程ID定义开始
kThreadUI, //UI线程主线程
kThreadDatabase, //写DB线程
kThreadGlobalMisc, //全局Misc线程比如打开url
kThreadDuilibHelper,//Duilib专用UI辅助线程
kThreadLiveStreaming,//直播线程
kThreadScreenCapture,//取屏线程
kThreadApp,//用户自定义应用线程
kThreadEnd,//线程ID定义结束
};
#endif // SHARED_THREADS_H_