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
Indent the rest of the code (examples, buildtools, doc...) except for examples/SMPI...
[simgrid.git]
/
teshsuite
/
xbt
/
parallel_log_crashtest.c
diff --git
a/teshsuite/xbt/parallel_log_crashtest.c
b/teshsuite/xbt/parallel_log_crashtest.c
index
3d55f8c
..
7fb2715
100644
(file)
--- a/
teshsuite/xbt/parallel_log_crashtest.c
+++ b/
teshsuite/xbt/parallel_log_crashtest.c
@@
-1,8
+1,7
@@
-/* $Id$ */
-
/* synchro_crashtest -- tries to crash the logging mecanism by doing // logs*/
/* synchro_crashtest -- tries to crash the logging mecanism by doing // logs*/
-/* Copyright (c) 2007 Martin Quinson. All rights reserved. */
+/* Copyright (c) 2007, 2008, 2009, 2010. The SimGrid Team.
+ * All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
@@
-71,7
+70,9
@@
int crasher(int argc, char *argv[])
/* spawn threads */
for (i = 0; i < crasher_amount; i++) {
char *name = bprintf("thread %d", i);
/* spawn threads */
for (i = 0; i < crasher_amount; i++) {
char *name = bprintf("thread %d", i);
- crashers[i] = xbt_thread_create(name, &crasher_thread, &id[i]);
+ crashers[i] =
+ xbt_thread_create(name, &crasher_thread, &id[i],
+ 0 /*not joinable */ );
free(name);
}
free(name);
}