Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Remove useless wrapper around pthread_atfork().
[simgrid.git] / include / xbt / xbt_os_thread.h
index 95a3377..a1c4de9 100644 (file)
@@ -11,8 +11,6 @@
 #include <xbt/base.h>
 #include <xbt/function_types.h>
 
-#include <pthread.h>
-
 SG_BEGIN_DECL()
 
 /** @addtogroup XBT_thread
@@ -24,8 +22,6 @@ SG_BEGIN_DECL()
  *  @{
  */
 
-XBT_PUBLIC int xbt_os_thread_atfork(void (*prepare)(void), void (*parent)(void), void (*child)(void));
-
 /** @brief Thread mutex data type (opaque structure) */
 typedef struct xbt_os_mutex_ *xbt_os_mutex_t;
 XBT_PUBLIC xbt_os_mutex_t xbt_os_mutex_init(void);