-/* $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. */
/* 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);
}