From dba15063912e5066636f0d4354780807a586196d Mon Sep 17 00:00:00 2001 From: unknown Date: Tue, 10 Jan 2012 22:42:29 +0100 Subject: [PATCH 1/1] return 0 instead of die. --- src/xbt/xbt_os_thread.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.20.1