X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/8318c2af7d3451baa2ac1cb93f757146385a9e3b..ebcb91551aa801d2353d854ffe9c1d1bf72d7db9:/include/xbt/xbt_os_thread.h diff --git a/include/xbt/xbt_os_thread.h b/include/xbt/xbt_os_thread.h index 33bb3e6c33..fa4c014184 100644 --- a/include/xbt/xbt_os_thread.h +++ b/include/xbt/xbt_os_thread.h @@ -1,13 +1,12 @@ /* xbt/xbt_os_thread.h -- Thread portability layer */ -/* Copyright (c) 2007-2015. The SimGrid Team. - * All rights reserved. */ +/* Copyright (c) 2007-2017. 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 +#ifndef XBT_OS_THREAD_H +#define XBT_OS_THREAD_H #include "xbt/base.h" @@ -18,10 +17,10 @@ typedef pthread_key_t xbt_os_thread_key_t; /** @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. - * + * * @{ */ @@ -70,9 +69,8 @@ XBT_PUBLIC(xbt_os_sem_t) xbt_os_sem_init(unsigned int value); XBT_PUBLIC(void) xbt_os_sem_acquire(xbt_os_sem_t sem); XBT_PUBLIC(void) xbt_os_sem_release(xbt_os_sem_t sem); XBT_PUBLIC(void) xbt_os_sem_destroy(xbt_os_sem_t sem); -XBT_PUBLIC(void) xbt_os_sem_get_value(xbt_os_sem_t sem, int *svalue); /** @} */ SG_END_DECL() -#endif /* _XBT_OS_THREAD_H */ +#endif /* XBT_OS_THREAD_H */