Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
The function is not implemented so put a THROW_UNIMPLEMENTED
authorunknown <pierre@.(none)>
Fri, 13 Jan 2012 10:30:03 +0000 (11:30 +0100)
committerunknown <pierre@.(none)>
Fri, 13 Jan 2012 10:30:03 +0000 (11:30 +0100)
src/xbt/xbt_os_thread.c

index 68198a8..f34fb39 100644 (file)
@@ -138,7 +138,7 @@ int xbt_os_thread_atfork(void (*prepare)(void),
                          void (*parent)(void), void (*child)(void))
 {
 #ifdef WIN32
-       return 0; //pthread_atfork is not implemented in pthread.h on windows
+       THROW_UNIMPLEMENTED; //pthread_atfork is not implemented in pthread.h on windows
 #else
   return pthread_atfork(prepare, parent, child);
 #endif