diff options
author | android-build-team Robot <android-build-team-robot@google.com> | 2017-05-10 08:42:16 +0000 |
---|---|---|
committer | android-build-team Robot <android-build-team-robot@google.com> | 2017-05-10 08:42:16 +0000 |
commit | 2c7bdd30dc4b333e5246d06ceab262c16bcd8a3f (patch) | |
tree | c759b5cca033aea4b22e52a991a42d773aea91bf | |
parent | 379b32df6c88e181b20ae90dc2a0a64416d8178e (diff) | |
parent | 689411deff0f97b7904e86a371a92dfd2605177c (diff) | |
download | wrs_omxil_core-oreo-dr1-release.tar.gz |
release-request-70e541de-d91e-4004-8c17-3147135eff42-for-git_oc-dr1-release-3993143 snap-temp-L23100000062404817android-8.0.0_r34android-8.0.0_r33android-8.0.0_r27android-8.0.0_r26android-8.0.0_r25android-8.0.0_r24android-8.0.0_r23android-8.0.0_r22android-8.0.0_r21oreo-dr3-releaseoreo-dr2-releaseoreo-dr1-release
Change-Id: I9aa81d1e1b3cec67b2541aa1eb2a22fbf21611f8
-rw-r--r-- | utils/src/thread.cpp | 2 |
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); } |