diff options
author | Yabin Cui <yabinc@google.com> | 2015-01-27 23:27:37 +0000 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2015-01-27 23:27:37 +0000 |
commit | 026111bc56498d6ac463b335d91e2ee5e06901be (patch) | |
tree | 62ca9b5630bbdb7385789bf3dc5db906681208ae /libs/hwui/renderthread/RenderThread.cpp | |
parent | 85d6a63d41676abef92701c8d61af7552aa478a4 (diff) | |
parent | 3a10a672f05735be46256617b8a61cdb1e589008 (diff) |
am f7049289: am 3812e68e: Merge "kill HAVE_PTHREADS."
automerge: 3a10a67
* commit '3a10a672f05735be46256617b8a61cdb1e589008':
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 a2f0625b0185..22b5a97a4581 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" @@ -250,9 +248,7 @@ void RenderThread::requestVsync() { } bool RenderThread::threadLoop() { -#if defined(HAVE_PTHREADS) setpriority(PRIO_PROCESS, 0, PRIORITY_DISPLAY); -#endif initThreadLocals(); int timeoutMillis = -1; |