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
Make the gras.h with cmake.
[simgrid.git]
/
buildtools
/
CPACK
/
tmp
/
prog_mutex_timedlock.c
diff --git
a/buildtools/CPACK/tmp/prog_mutex_timedlock.c
b/buildtools/CPACK/tmp/prog_mutex_timedlock.c
index
617cda0
..
7e49494
100644
(file)
--- a/
buildtools/CPACK/tmp/prog_mutex_timedlock.c
+++ b/
buildtools/CPACK/tmp/prog_mutex_timedlock.c
@@
-1,4
+1,8
@@
#include <pthread.h>
-pthread_mutex_t s;
-const struct timespec t;
-sem_timedlock(&s, &t);
+
+void main (void)
+{
+ pthread_mutex_t s;
+ const struct timespec t;
+ sem_timedlock(&s, &t);
+}