projects
/
c11tester.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d55f961
)
Remove unused codes
author
weiyu
<weiyuluo1232@gmail.com>
Mon, 9 Sep 2019 23:41:00 +0000
(16:41 -0700)
committer
weiyu
<weiyuluo1232@gmail.com>
Mon, 9 Sep 2019 23:41:00 +0000
(16:41 -0700)
include/mutex.h
patch
|
blob
|
history
diff --git
a/include/mutex.h
b/include/mutex.h
index d90d6645e11ab7f00e1d5456a3543c9339895c8b..64473b2ae783d1e83313ca5d179128e6c0bb8502 100644
(file)
--- a/
include/mutex.h
+++ b/
include/mutex.h
@@
-25,8
+25,6
@@
public:
bool try_lock();
void unlock();
struct mutex_state * get_state() {return &state;}
- void initialize() { state.init = 1; } // WL
- bool is_initialized() { return state.init == 1; }
private:
struct mutex_state state;