X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/dff9e15c44ab6340d27215957c56fa72fad246a2..cc01c6a871dbbfd0cc84e26eb9f94aeb539e613e:/teshsuite/xbt/parallel_log_crashtest.c diff --git a/teshsuite/xbt/parallel_log_crashtest.c b/teshsuite/xbt/parallel_log_crashtest.c index 3d55f8c4eb..7fb2715531 100644 --- 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*/ -/* 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. */ @@ -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); - 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); }