summaryrefslogtreecommitdiff
path: root/platform/android/thread_jandroid.h
diff options
context:
space:
mode:
Diffstat (limited to 'platform/android/thread_jandroid.h')
-rw-r--r--platform/android/thread_jandroid.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/platform/android/thread_jandroid.h b/platform/android/thread_jandroid.h
index bacc1ce435..b854a83e23 100644
--- a/platform/android/thread_jandroid.h
+++ b/platform/android/thread_jandroid.h
@@ -41,6 +41,9 @@
class ThreadAndroid : public Thread {
+ static pthread_key_t thread_id_key;
+ static ID next_thread_id;
+
pthread_t pthread;
pthread_attr_t pthread_attr;
ThreadCreateCallback callback;