diff options
author | 2011-08-18 15:58:49 -0700 | |
---|---|---|
committer | 2011-08-18 15:58:49 -0700 | |
commit | 2cfd15d1940c848fd60b454c545a33e2a78d185e (patch) | |
tree | 7bb234b295ff13a8554db38f6acabc06d40c65ca /src/thread.h | |
parent | 1c332df048f796ad0656644cb0433bd6e7a49aa3 (diff) | |
parent | 18c0753c1659629021b4becdaa3f6ea81aecce35 (diff) |
Merge "Initialize the rest of libcore's native code." into dalvik-dev
Diffstat (limited to 'src/thread.h')
-rw-r--r-- | src/thread.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/thread.h b/src/thread.h index 71fbd48cb9..054a4cdff3 100644 --- a/src/thread.h +++ b/src/thread.h @@ -41,11 +41,11 @@ class Mutex { static Mutex* Create(const char* name); public: // TODO: protected - explicit Mutex(const char* name) : name_(name), owner_(NULL) {} - void SetOwner(Thread* thread) { owner_ = thread; } private: + explicit Mutex(const char* name) : name_(name), owner_(NULL) {} + const char* name_; Thread* owner_; |