projects
/
userspace-rcu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3c5a11c
)
Fix: test_mutex.c uninitialized mutex
author
Vladimir Nikulichev
<nvs@tbricks.com>
Mon, 30 Sep 2013 14:32:22 +0000
(10:32 -0400)
committer
Mathieu Desnoyers
<mathieu.desnoyers@efficios.com>
Mon, 30 Sep 2013 14:33:18 +0000
(10:33 -0400)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
tests/test_mutex.c
patch
|
blob
|
blame
|
history
diff --git
a/tests/test_mutex.c
b/tests/test_mutex.c
index 41b13d8b98f1eb21064cc9a4abf806abbc1cd283..b493c4d44e0581eb02e4c8c6b1c214beeb43405a 100644
(file)
--- a/
tests/test_mutex.c
+++ b/
tests/test_mutex.c
@@
-70,7
+70,7
@@
struct test_array {
int a;
};
-static pthread_mutex_t lock;
+static pthread_mutex_t lock
= PTHREAD_MUTEX_INITIALIZER
;
static volatile int test_go, test_stop;
This page took
0.025108 seconds
and
4
git commands to generate.