Commit 5da36b56 authored by l2d4y3's avatar l2d4y3 Committed by Commit bot

Fix platform_thread_freebsd.cc

Review URL: https://codereview.chromium.org/1547283002

Cr-Commit-Position: refs/heads/master@{#367047}
parent 9a86df9f
...@@ -156,6 +156,7 @@ Dongie Agnir <dongie.agnir@gmail.com> ...@@ -156,6 +156,7 @@ Dongie Agnir <dongie.agnir@gmail.com>
Dongjun Kim <djmix.kim@samsung.com> Dongjun Kim <djmix.kim@samsung.com>
Dongseong Hwang <dongseong.hwang@intel.com> Dongseong Hwang <dongseong.hwang@intel.com>
Dongwoo Joshua Im <dw.im@samsung.com> Dongwoo Joshua Im <dw.im@samsung.com>
Dongyu Lin <l2d4y3@gmail.com>
Douglas F. Turner <doug.turner@gmail.com> Douglas F. Turner <doug.turner@gmail.com>
Dustin Doloff <doloffd@amazon.com> Dustin Doloff <doloffd@amazon.com>
Ebrahim Byagowi <ebraminio@gmail.com> Ebrahim Byagowi <ebraminio@gmail.com>
......
...@@ -16,7 +16,6 @@ ...@@ -16,7 +16,6 @@
#if !defined(OS_NACL) #if !defined(OS_NACL)
#include <pthread.h> #include <pthread.h>
#include <sys/prctl.h>
#include <sys/types.h> #include <sys/types.h>
#include <unistd.h> #include <unistd.h>
#endif #endif
...@@ -36,7 +35,7 @@ const ThreadPriorityToNiceValuePair kThreadPriorityToNiceValueMap[4] = { ...@@ -36,7 +35,7 @@ const ThreadPriorityToNiceValuePair kThreadPriorityToNiceValueMap[4] = {
{ThreadPriority::NORMAL, 0}, {ThreadPriority::NORMAL, 0},
{ThreadPriority::DISPLAY, -6}, {ThreadPriority::DISPLAY, -6},
{ThreadPriority::REALTIME_AUDIO, -10}, {ThreadPriority::REALTIME_AUDIO, -10},
} };
bool SetCurrentThreadPriorityForPlatform(ThreadPriority priority) { bool SetCurrentThreadPriorityForPlatform(ThreadPriority priority) {
#if !defined(OS_NACL) #if !defined(OS_NACL)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment