SysLink API Reference
2.21.03.11
|
Gate based on Spinlock.
Go to the source code of this file.
Macros | |
#define | GateSpinlock_E_INVALIDARG -1 |
Argument passed to a function is invalid. | |
#define | GateSpinlock_E_MEMORY -2 |
Memory allocation failed. | |
#define | GateSpinlock_E_BUSY -3 |
The name is already registered or not. | |
#define | GateSpinlock_E_FAIL -4 |
Generic failure. | |
#define | GateSpinlock_E_NOTFOUND -5 |
Name not found in the nameserver. | |
#define | GateSpinlock_E_INVALIDSTATE -6 |
Module is not initialized. | |
#define | GateSpinlock_E_INUSE -7 |
Indicates that the instance is in use. | |
#define | GateSpinlock_E_HANDLE -8 |
An invalid handle was provided. | |
#define | GateSpinlock_S_SUCCESS 0 |
Operation successful. |
Typedefs | |
typedef struct GateSpinlock_Object | GateSpinlock_Object |
Object for GateSpinlock. | |
typedef GateSpinlock_Object * | GateSpinlock_Handle |
Handle for GateSpinlock. | |
typedef Void | GateSpinlock_Params |
Functions | |
GateSpinlock_Handle | GateSpinlock_create (const GateSpinlock_Params *params, Error_Block *eb) |
Int | GateSpinlock_delete (GateSpinlock_Handle *handle) |
#define GateSpinlock_E_INVALIDARG -1 |
Argument passed to a function is invalid.
#define GateSpinlock_E_MEMORY -2 |
Memory allocation failed.
#define GateSpinlock_E_BUSY -3 |
The name is already registered or not.
#define GateSpinlock_E_FAIL -4 |
Generic failure.
#define GateSpinlock_E_NOTFOUND -5 |
Name not found in the nameserver.
#define GateSpinlock_E_INVALIDSTATE -6 |
Module is not initialized.
#define GateSpinlock_E_INUSE -7 |
Indicates that the instance is in use.
#define GateSpinlock_E_HANDLE -8 |
An invalid handle was provided.
#define GateSpinlock_S_SUCCESS 0 |
Operation successful.
typedef struct GateSpinlock_Object GateSpinlock_Object |
Object for GateSpinlock.
typedef GateSpinlock_Object* GateSpinlock_Handle |
Handle for GateSpinlock.
typedef Void GateSpinlock_Params |
No parameters for GateSpinlock creation
GateSpinlock_Handle GateSpinlock_create | ( | const GateSpinlock_Params * | params, |
Error_Block * | eb | ||
) |
Int GateSpinlock_delete | ( | GateSpinlock_Handle * | handle | ) |