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

Detailed Description

Process level gate.

Go to the source code of this file.

Data Structures

struct  GateProcess_Params
 Create parameter structure. More...
struct  GateProcess_ShMem
 Shared memory structure used by instance. More...

Macros

#define GateProcess_E_INVALIDARG   (-1)
 Argument passed to a function is invalid.
#define GateProcess_E_MEMORY   (-2)
 Memory allocation failed.
#define GateProcess_E_BUSY   (-3)
 The name is already registered or not.
#define GateProcess_E_FAIL   (-4)
 Generic failure.
#define GateProcess_E_NOTFOUND   (-5)
 Name not found in the nameserver.
#define GateProcess_E_INVALIDSTATE   (-6)
 Module is not initialized.
#define GateProcess_E_INUSE   (-7)
 Indicates that the instance is in use.
#define GateProcess_S_SUCCESS   (0)
 Operation successful.

Typedefs

typedef struct GateProcess_Object GateProcess_Object
 Object for GateProcess.
typedef GateProcess_ObjectGateProcess_Handle
 Handle for GateProcess.

Functions

IArg GateProcess_enter (GateProcess_Handle handle)
Void GateProcess_leave (GateProcess_Handle handle, IArg key)
Void GateProcess_Params_init (GateProcess_Params *params)
GateProcess_Handle GateProcess_create (Ptr sharedAddr, const GateProcess_Params *params)
Int GateProcess_delete (GateProcess_Handle *pHandle)
GateProcess_Handle GateProcess_open (Ptr sharedAddr)
Int GateProcess_close (GateProcess_Handle *pHandle)
SizeT GateProcess_shMemSize (Void)

Macro Definition Documentation

#define GateProcess_E_INVALIDARG   (-1)

Argument passed to a function is invalid.

#define GateProcess_E_MEMORY   (-2)

Memory allocation failed.

#define GateProcess_E_BUSY   (-3)

The name is already registered or not.

#define GateProcess_E_FAIL   (-4)

Generic failure.

#define GateProcess_E_NOTFOUND   (-5)

Name not found in the nameserver.

#define GateProcess_E_INVALIDSTATE   (-6)

Module is not initialized.

#define GateProcess_E_INUSE   (-7)

Indicates that the instance is in use.

#define GateProcess_S_SUCCESS   (0)

Operation successful.


Typedef Documentation

Object for GateProcess.

Handle for GateProcess.


Function Documentation

IArg GateProcess_enter ( GateProcess_Handle  handle)
Void GateProcess_leave ( GateProcess_Handle  handle,
IArg  key 
)
Void GateProcess_Params_init ( GateProcess_Params params)
GateProcess_Handle GateProcess_create ( Ptr  sharedAddr,
const GateProcess_Params params 
)
Int GateProcess_delete ( GateProcess_Handle pHandle)
GateProcess_Handle GateProcess_open ( Ptr  sharedAddr)
Int GateProcess_close ( GateProcess_Handle pHandle)
SizeT GateProcess_shMemSize ( Void  )
Copyright 2014, Texas Instruments Incorporated