diff options
author | Elliott Hughes <enh@google.com> | 2014-08-18 19:24:33 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2014-08-18 19:24:33 +0000 |
commit | 3859029a48aa78150fa61eb4988214f8632b33ce (patch) | |
tree | 36dbc1b778a350838f004580d8acb559a6b81ccc /include | |
parent | 25282774247e841d6d5a3ba903f49866666119b2 (diff) | |
parent | 7fb0ee0c4d3ba83ec960493e43cba9cfa7a6130f (diff) | |
download | system_core-3859029a48aa78150fa61eb4988214f8632b33ce.zip system_core-3859029a48aa78150fa61eb4988214f8632b33ce.tar.gz system_core-3859029a48aa78150fa61eb4988214f8632b33ce.tar.bz2 |
am 7fb0ee0c: Merge "Remove androidGetTid."
* commit '7fb0ee0c4d3ba83ec960493e43cba9cfa7a6130f':
Remove androidGetTid.
Diffstat (limited to 'include')
-rw-r--r-- | include/utils/AndroidThreads.h | 3 | ||||
-rw-r--r-- | include/utils/Thread.h | 4 |
2 files changed, 2 insertions, 5 deletions
diff --git a/include/utils/AndroidThreads.h b/include/utils/AndroidThreads.h index 4eee14d..3c640b6 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 df30611..c867e95 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 |