summaryrefslogtreecommitdiffstats
path: root/include
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 /include
parent5f231a43b342fcfbd778d14f953b0b63715ee7f2 (diff)
downloadcore-b7659613b2eed5df47e3e7ec536012772cc08b61.tar.gz
core-b7659613b2eed5df47e3e7ec536012772cc08b61.tar.bz2
core-b7659613b2eed5df47e3e7ec536012772cc08b61.zip
Remove androidGetTid.
Bug: 17048545 Change-Id: I93cbb2d7bd18d506b5f5f7f262dd9ac0fca053b4
Diffstat (limited to 'include')
-rw-r--r--include/utils/AndroidThreads.h3
-rw-r--r--include/utils/Thread.h4
2 files changed, 2 insertions, 5 deletions
diff --git a/include/utils/AndroidThreads.h b/include/utils/AndroidThreads.h
index 4eee14d7e..3c640b6b6 100644
--- a/include/utils/AndroidThreads.h
+++ b/include/utils/AndroidThreads.h
@@ -73,9 +73,6 @@ extern void androidSetCreateThreadFunc(android_create_thread_fn func);
// ------------------------------------------------------------------
// Extra functions working with raw pids.
-// Get pid for the current thread.
-extern pid_t androidGetTid();
-
#ifdef HAVE_ANDROID_OS
// Change the priority AND scheduling group of a particular thread. The priority
// should be one of the ANDROID_PRIORITY constants. Returns INVALID_OPERATION
diff --git a/include/utils/Thread.h b/include/utils/Thread.h
index df3061135..c867e95a4 100644
--- a/include/utils/Thread.h
+++ b/include/utils/Thread.h
@@ -71,8 +71,8 @@ public:
bool isRunning() const;
#ifdef HAVE_ANDROID_OS
- // Return the thread's kernel ID, same as the thread itself calling gettid() or
- // androidGetTid(), or -1 if the thread is not running.
+ // Return the thread's kernel ID, same as the thread itself calling gettid(),
+ // or -1 if the thread is not running.
pid_t getTid() const;
#endif