A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Various sonar cleanups
[simgrid.git]
/
examples
/
sthread
/
pthread-mutex-recursive.c
diff --git
a/examples/sthread/pthread-mutex-recursive.c
b/examples/sthread/pthread-mutex-recursive.c
index
482cf3e
..
63c9ccc
100644
(file)
--- a/
examples/sthread/pthread-mutex-recursive.c
+++ b/
examples/sthread/pthread-mutex-recursive.c
@@
-40,7
+40,8
@@
static void* thread_function(void* arg)
int main()
{
- pthread_t thread1, thread2;
+ pthread_t thread1;
+ pthread_t thread2;
pthread_mutex_t mutex_dflt = PTHREAD_MUTEX_INITIALIZER; // Non-recursive mutex
pthread_mutexattr_t attr;