Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
return 0 instead of die.
[simgrid.git] / 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