Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
return 0 instead of die.
authorunknown <pierre@.(none)>
Tue, 10 Jan 2012 21:42:29 +0000 (22:42 +0100)
committerunknown <pierre@.(none)>
Tue, 10 Jan 2012 21:42:29 +0000 (22:42 +0100)
src/xbt/xbt_os_thread.c

index 3cb6dbb..68198a8 100644 (file)
@@ -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