diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2017-09-27 15:08:33 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2017-10-05 14:29:02 +0200 |
commit | de59c065c57cb8526662ee6da28a57ad16fdde66 (patch) | |
tree | 21f4a2adbd58f65f722051bca435572fbf5dcf05 /cpukit/posix/include/rtems/posix/mutex.h | |
parent | posix: Implement self-contained POSIX condvar (diff) | |
download | rtems-de59c065c57cb8526662ee6da28a57ad16fdde66.tar.bz2 |
posix: Implement self-contained POSIX mutex
POSIX mutexes are now available in all configurations and no longer
depend on --enable-posix.
Update #2514.
Update #3112.
Diffstat (limited to 'cpukit/posix/include/rtems/posix/mutex.h')
-rw-r--r-- | cpukit/posix/include/rtems/posix/mutex.h | 75 |
1 files changed, 0 insertions, 75 deletions
diff --git a/cpukit/posix/include/rtems/posix/mutex.h b/cpukit/posix/include/rtems/posix/mutex.h deleted file mode 100644 index 97ab138652..0000000000 --- a/cpukit/posix/include/rtems/posix/mutex.h +++ /dev/null @@ -1,75 +0,0 @@ -/** - * @file - * - * @brief POSIX MUTEX Support - * - * This include file contains all the private support information for - * POSIX mutex's. - */ - -/* - * COPYRIGHT (c) 1989-2011. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may be - * found in the file LICENSE in this distribution or at - * http://www.rtems.org/license/LICENSE. - */ - -#ifndef _RTEMS_POSIX_MUTEX_H -#define _RTEMS_POSIX_MUTEX_H - -#include <rtems/score/coremutex.h> - -#ifdef __cplusplus -extern "C" { -#endif - -/** - * @defgroup POSIX_MUTEX POSIX Mutex Support - * - * @ingroup POSIXAPI - * - * @brief Private Support Information for POSIX Mutex - * - */ -/**@{**/ - -/** - * @brief The POSIX mutex control. - */ -typedef struct { - /** - * @brief The object control. - */ - Objects_Control Object; - - /** - * The most general mutex variant supported by a POSIX mutex. - * - * The priority inheritance or no protocol variants will use only parts of - * this structure. - */ - CORE_ceiling_mutex_Control Mutex; - - /** - * @brief The protocol variant. - * - * @see POSIX_Mutex_Protocol. - */ - unsigned int protocol : 2; - - /** - * @brief Indicates if this is a non-recursive or recursive mutex. - */ - unsigned int is_recursive : 1; -} POSIX_Mutex_Control; - -/** @} */ - -#ifdef __cplusplus -} -#endif - -#endif -/* end of include file */ |