From 0818b0921ef6cda07f41b56d2ef19b2849dfefd1 Mon Sep 17 00:00:00 2001 From: Jeff Brown Date: Fri, 16 Mar 2012 22:18:39 -0700 Subject: Add a simple work queue abstraction. Makes it easy to schedule a bunch of work to happen in parallel. Change-Id: Id9c0e52fc8b6d78d2b9ed4c2ee47abce0a01775c --- libs/utils/Threads.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libs/utils/Threads.cpp') diff --git a/libs/utils/Threads.cpp b/libs/utils/Threads.cpp index ab207f5655..f9277de73b 100644 --- a/libs/utils/Threads.cpp +++ b/libs/utils/Threads.cpp @@ -323,6 +323,7 @@ pid_t androidGetTid() #endif } +#ifdef HAVE_ANDROID_OS int androidSetThreadSchedulingGroup(pid_t tid, int grp) { if (grp > ANDROID_TGROUP_MAX || grp < 0) { @@ -425,6 +426,7 @@ int androidGetThreadSchedulingGroup(pid_t tid) return ret; } +#endif namespace android { -- cgit v1.2.3-59-g8ed1b