source: rtems/cpukit/posix/include/rtems/posix/mutex.h @ c499856

4.115
Last change on this file since c499856 was c499856, checked in by Chris Johns <chrisj@…>, on 03/20/14 at 21:10:47

Change all references of rtems.com to rtems.org.

  • Property mode set to 100644
File size: 971 bytes
Line 
1/**
2 * @file
3 *
4 * @brief POSIX MUTEX Support
5 *
6 * This include file contains all the private support information for
7 * POSIX mutex's.
8 */
9
10/*
11 *  COPYRIGHT (c) 1989-2011.
12 *  On-Line Applications Research Corporation (OAR).
13 *
14 *  The license and distribution terms for this file may be
15 *  found in the file LICENSE in this distribution or at
16 *  http://www.rtems.org/license/LICENSE.
17 */
18
19#ifndef _RTEMS_POSIX_MUTEX_H
20#define _RTEMS_POSIX_MUTEX_H
21
22#include <rtems/score/coremutex.h>
23#include <pthread.h>
24
25#ifdef __cplusplus
26extern "C" {
27#endif
28
29/**
30 * @defgroup POSIX_MUTEX POSIX Mutex Support
31 *
32 * @ingroup POSIXAPI
33 *
34 * @brief Private Support Information for POSIX Mutex
35 *
36 */
37/**@{**/
38
39/*
40 *  Data Structure used to manage a POSIX mutex
41 */
42
43typedef struct {
44   Objects_Control     Object;
45   int                 process_shared;
46   CORE_mutex_Control  Mutex;
47}  POSIX_Mutex_Control;
48
49/** @} */
50
51#ifdef __cplusplus
52}
53#endif
54
55#endif
56/*  end of include file */
Note: See TracBrowser for help on using the repository browser.