summaryrefslogtreecommitdiff
path: root/libunwindstack/tests/MemoryFileTest.cpp
diff options
context:
space:
mode:
authorErik Staats <estaats@google.com>2017-04-26 15:15:55 -0700
committerErik Staats <estaats@google.com>2017-04-26 15:39:26 -0700
commitd32331fb272048eeb55184bee15071fb95b6a6c2 (patch)
tree562ca691fa218381e6640598d22d0f0b2c7516dc /libunwindstack/tests/MemoryFileTest.cpp
parent1ac29896b079f0d2c279f93f882fccca22947ab9 (diff)
Change set_sched_policy to set slack for current thread.
Change set_sched_policy to use prctl PR_SET_TIMERSLACK if setting the policy for the current thread and /proc/<tid>/timerslack_ns is not supported by the kernel. Bug: 32972117 Test: Verified that libcutils SchedPolicy tests pass. See details in testing done comment in https://android-review.googlesource.com/381303 . Change-Id: Id70940ed7f9ed94c3d105213f069bf3e5a8d8824
Diffstat (limited to 'libunwindstack/tests/MemoryFileTest.cpp')
0 files changed, 0 insertions, 0 deletions