diff options
author | Yabin Cui <yabinc@google.com> | 2015-01-27 06:49:16 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2015-01-27 06:49:16 +0000 |
commit | 3812e68ea788782c54c27f69d08bcc1419066cb2 (patch) | |
tree | 0c48396116094b6642fbc86973c3939d800ca7d3 /libs/hwui/renderthread/RenderThread.cpp | |
parent | 82a1a2c63959adc0c7e3208c6ffa6985a346ae57 (diff) | |
parent | 1610486d371b867c0a842ede38e64774c18ba5d9 (diff) |
Merge "kill HAVE_PTHREADS."
Diffstat (limited to 'libs/hwui/renderthread/RenderThread.cpp')
-rw-r--r-- | libs/hwui/renderthread/RenderThread.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/libs/hwui/renderthread/RenderThread.cpp b/libs/hwui/renderthread/RenderThread.cpp index 403e1644bc7b..9dfe75ebf2c7 100644 --- a/libs/hwui/renderthread/RenderThread.cpp +++ b/libs/hwui/renderthread/RenderThread.cpp @@ -16,10 +16,8 @@ #include "RenderThread.h" -#if defined(HAVE_PTHREADS) -#include <sys/resource.h> -#endif #include <gui/DisplayEventReceiver.h> +#include <sys/resource.h> #include <utils/Log.h> #include "../RenderState.h" @@ -245,9 +243,7 @@ void RenderThread::requestVsync() { } bool RenderThread::threadLoop() { -#if defined(HAVE_PTHREADS) setpriority(PRIO_PROCESS, 0, PRIORITY_DISPLAY); -#endif initThreadLocals(); int timeoutMillis = -1; |