X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/1f809f925b761c65403c23c8d35f12c85f319a88..dfb4e2167c0963c8528f9534aa86816a1ec14e47:/include/xbt/xbt_os_thread.h diff --git a/include/xbt/xbt_os_thread.h b/include/xbt/xbt_os_thread.h deleted file mode 100644 index a1c4de9697..0000000000 --- a/include/xbt/xbt_os_thread.h +++ /dev/null @@ -1,35 +0,0 @@ -/* xbt/xbt_os_thread.h -- Thread portability layer */ - -/* Copyright (c) 2007-2019. The SimGrid Team. All rights reserved. */ - -/* This program is free software; you can redistribute it and/or modify it - * under the terms of the license (GNU LGPL) which comes with this package. */ - -#ifndef XBT_OS_THREAD_H -#define XBT_OS_THREAD_H - -#include -#include - -SG_BEGIN_DECL() - -/** @addtogroup XBT_thread - * @brief Thread portability layer - * - * This section describes the thread portability layer. It defines types and functions very close to the pthread API, - * but it's portable to windows too. - * - * @{ - */ - -/** @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); -XBT_PUBLIC void xbt_os_mutex_acquire(xbt_os_mutex_t mutex); -XBT_PUBLIC void xbt_os_mutex_release(xbt_os_mutex_t mutex); -XBT_PUBLIC void xbt_os_mutex_destroy(xbt_os_mutex_t mutex); - -/** @} */ - -SG_END_DECL() -#endif /* XBT_OS_THREAD_H */