From: unknown Date: Tue, 10 Jan 2012 21:42:29 +0000 (+0100) Subject: return 0 instead of die. X-Git-Tag: exp_20120216~152 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/dba15063912e5066636f0d4354780807a586196d return 0 instead of die. --- diff --git a/src/xbt/xbt_os_thread.c b/src/xbt/xbt_os_thread.c index 3cb6dbbb9a..68198a879f 100644 --- a/src/xbt/xbt_os_thread.c +++ b/src/xbt/xbt_os_thread.c @@ -138,7 +138,7 @@ int xbt_os_thread_atfork(void (*prepare)(void), void (*parent)(void), void (*child)(void)) { #ifdef WIN32 - xbt_die("Function pthread_atfork not implemented"); + return 0; //pthread_atfork is not implemented in pthread.h on windows #else return pthread_atfork(prepare, parent, child); #endif