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
Change most mcmini tests to odpor reduction; the unchanged one fails to find the...
[simgrid.git]
/
teshsuite
/
mc
/
mcmini
/
barber_shop_ok.c
diff --git
a/teshsuite/mc/mcmini/barber_shop_ok.c
b/teshsuite/mc/mcmini/barber_shop_ok.c
index
b0f17ca
..
827b8db
100644
(file)
--- a/
teshsuite/mc/mcmini/barber_shop_ok.c
+++ b/
teshsuite/mc/mcmini/barber_shop_ok.c
@@
-145,8
+145,10
@@
int main(int argc, char* argv[])
exit(-1);
}
exit(-1);
}
- printf("\nSleepBarber.c\n\n");
- printf("A solution to the sleeping barber problem using semaphores.\n");
+ if (DEBUG) {
+ printf("\nSleepBarber.c\n\n");
+ printf("A solution to the sleeping barber problem using semaphores.\n");
+ }
// Initialize the random number generator with a new seed.
srand48(RandSeed);
// Initialize the random number generator with a new seed.
srand48(RandSeed);