SysLink API Reference  2.21.03.11
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Macros | Typedefs | Functions
GateMutex.h File Reference

Detailed Description

Gate based on Mutex.

Go to the source code of this file.

Macros

#define GateMutex_E_INVALIDARG   -1
 Argument passed to a function is invalid.
#define GateMutex_E_MEMORY   -2
 Memory allocation failed.
#define GateMutex_E_BUSY   -3
 The name is already registered or not.
#define GateMutex_E_FAIL   -4
 Generic failure.
#define GateMutex_E_NOTFOUND   -5
 Name not found in the nameserver.
#define GateMutex_E_INVALIDSTATE   -6
 Module is not initialized.
#define GateMutex_E_INUSE   -7
 Indicates that the instance is in use.
#define GateMutex_S_SUCCESS   0
 Operation successful.

Typedefs

typedef struct GateMutex_Object GateMutex_Object
 Object for Gate Mutex.
typedef GateMutex_ObjectGateMutex_Handle
 Handle for Gate Mutex.
typedef Void GateMutex_Params

Functions

GateMutex_Handle GateMutex_create (const GateMutex_Params *params, Error_Block *eb)
Int GateMutex_delete (GateMutex_Handle *gmHandle)

Macro Definition Documentation

#define GateMutex_E_INVALIDARG   -1

Argument passed to a function is invalid.

#define GateMutex_E_MEMORY   -2

Memory allocation failed.

#define GateMutex_E_BUSY   -3

The name is already registered or not.

#define GateMutex_E_FAIL   -4

Generic failure.

#define GateMutex_E_NOTFOUND   -5

Name not found in the nameserver.

#define GateMutex_E_INVALIDSTATE   -6

Module is not initialized.

#define GateMutex_E_INUSE   -7

Indicates that the instance is in use.

#define GateMutex_S_SUCCESS   0

Operation successful.


Typedef Documentation

Object for Gate Mutex.

Handle for Gate Mutex.

No parameters for GateMutex creation


Function Documentation

GateMutex_Handle GateMutex_create ( const GateMutex_Params params,
Error_Block eb 
)
Int GateMutex_delete ( GateMutex_Handle gmHandle)
Copyright 2014, Texas Instruments Incorporated