diff options
author | Elliott Hughes <enh@google.com> | 2014-08-18 18:04:25 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2014-08-16 04:08:14 +0000 |
commit | 7fb0ee0c4d3ba83ec960493e43cba9cfa7a6130f (patch) | |
tree | ee1840891b5f8031b7085326eed4a1418068e937 /libutils | |
parent | 5f231a43b342fcfbd778d14f953b0b63715ee7f2 (diff) | |
parent | b7659613b2eed5df47e3e7ec536012772cc08b61 (diff) | |
download | system_core-7fb0ee0c4d3ba83ec960493e43cba9cfa7a6130f.zip system_core-7fb0ee0c4d3ba83ec960493e43cba9cfa7a6130f.tar.gz system_core-7fb0ee0c4d3ba83ec960493e43cba9cfa7a6130f.tar.bz2 |
Merge "Remove androidGetTid."
Diffstat (limited to 'libutils')
-rw-r--r-- | libutils/Threads.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/libutils/Threads.cpp b/libutils/Threads.cpp index b09d510..03fde97 100644 --- a/libutils/Threads.cpp +++ b/libutils/Threads.cpp @@ -306,15 +306,6 @@ void androidSetCreateThreadFunc(android_create_thread_fn func) gCreateThreadFn = func; } -pid_t androidGetTid() -{ -#ifdef HAVE_GETTID - return gettid(); -#else - return getpid(); -#endif -} - #ifdef HAVE_ANDROID_OS int androidSetThreadPriority(pid_t tid, int pri) { |