Gate based on Mutex.
Go to the source code of this file.
Defines | |
#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 struct GateMutex_Object * | GateMutex_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) |
#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 struct GateMutex_Object GateMutex_Object |
Object for Gate Mutex.
typedef struct GateMutex_Object* GateMutex_Handle |
Handle for Gate Mutex.
typedef Void GateMutex_Params |
No parameters for GateMutex creation
GateMutex_Handle GateMutex_create | ( | const GateMutex_Params * | params, |
Error_Block * | eb | ||
) |
Int GateMutex_delete | ( | GateMutex_Handle * | gmHandle ) |