diff --git a/include/utils/threads.h b/include/utils/threads.h index 0fc533f95..f5304f72b 100644 --- a/include/utils/threads.h +++ b/include/utils/threads.h @@ -90,6 +90,11 @@ enum { ANDROID_TGROUP_MAX = ANDROID_TGROUP_FG_BOOST, }; +typedef enum { + SP_BACKGROUND = 0, + SP_FOREGROUND = 1, +} SchedPolicy; + // Create and run a new thread. extern int androidCreateThread(android_thread_func_t, void *);