summaryrefslogtreecommitdiff
path: root/libutils/Threads.cpp
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2014-08-18 10:47:37 -0700
committerElliott Hughes <enh@google.com>2014-08-18 10:47:37 -0700
commitb7659613b2eed5df47e3e7ec536012772cc08b61 (patch)
treeee1840891b5f8031b7085326eed4a1418068e937 /libutils/Threads.cpp
parent5f231a43b342fcfbd778d14f953b0b63715ee7f2 (diff)
Remove androidGetTid.
Bug: 17048545 Change-Id: I93cbb2d7bd18d506b5f5f7f262dd9ac0fca053b4
Diffstat (limited to 'libutils/Threads.cpp')
-rw-r--r--libutils/Threads.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/libutils/Threads.cpp b/libutils/Threads.cpp
index b09d51068..03fde978b 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)
{