aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2017-05-10 08:42:16 +0000
committerandroid-build-team Robot <android-build-team-robot@google.com>2017-05-10 08:42:16 +0000
commit2c7bdd30dc4b333e5246d06ceab262c16bcd8a3f (patch)
treec759b5cca033aea4b22e52a991a42d773aea91bf
parent379b32df6c88e181b20ae90dc2a0a64416d8178e (diff)
parent689411deff0f97b7904e86a371a92dfd2605177c (diff)
downloadwrs_omxil_core-oreo-dr1-release.tar.gz
Change-Id: I9aa81d1e1b3cec67b2541aa1eb2a22fbf21611f8
-rw-r--r--utils/src/thread.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/src/thread.cpp b/utils/src/thread.cpp
index 22a4398..957e9bb 100644
--- a/utils/src/thread.cpp
+++ b/utils/src/thread.cpp
@@ -23,6 +23,7 @@ Thread::Thread()
{
r = NULL;
created = false;
+ id = 0;
pthread_mutex_init(&lock, NULL);
}
@@ -31,6 +32,7 @@ Thread::Thread(RunnableInterface *r)
{
this->r = r;
created = false;
+ id = 0;
pthread_mutex_init(&lock, NULL);
}