commit | c7b81108b48d213ef3eb8f296440ada893e9ac5d | [log] [tgz] |
---|---|---|
author | dimitry <dimitry@google.com> | Thu Apr 25 16:23:53 2019 +0200 |
committer | dimitry <dimitry@google.com> | Thu Apr 25 16:43:24 2019 +0200 |
tree | 23cfc1c54b61921c54d2a159d4aa63315ec62751 | |
parent | 731ed0fb5250821ae34c4bfe1e4f278c3a5b87b7 [diff] [blame] |
Make pthread_get/setschedparam weak for native bridge Bug: http://b/130825973 Test: run affected app on cuttlefish Change-Id: I776f26f5eaebdfdb1256ff621bd05ef5a90b852a
diff --git a/libc/bionic/pthread_getschedparam.cpp b/libc/bionic/pthread_getschedparam.cpp index ed1853b..765287f 100644 --- a/libc/bionic/pthread_getschedparam.cpp +++ b/libc/bionic/pthread_getschedparam.cpp
@@ -28,9 +28,11 @@ #include <errno.h> +#include "private/bionic_defs.h" #include "private/ErrnoRestorer.h" #include "pthread_internal.h" +__BIONIC_WEAK_FOR_NATIVE_BRIDGE int pthread_getschedparam(pthread_t t, int* policy, sched_param* param) { ErrnoRestorer errno_restorer;