High Performance OPC UA Server SDK  1.7.1.383
ipc_mem

Functions

PLATFORM_EXPORT void * ua_ipc_mem_open (void)
 Open shared memory allocated by another process. More...
 
PLATFORM_EXPORT void * ua_ipc_mem_create (size_t size)
 Create shared memory for interprocess communication. More...
 
PLATFORM_EXPORT void ua_ipc_mem_clear (void)
 Clear memory allocated with ua_ipc_mem_create.
 

Detailed Description

Function Documentation

◆ ua_ipc_mem_create()

PLATFORM_EXPORT void* ua_ipc_mem_create ( size_t  size)

Create shared memory for interprocess communication.

In case MEMORY_USE_SHM is not defined this function might also allocate private non-shared memory.

Parameters
sizeAmount of memory to allocate in bytes.
Returns
Pointer to the allocated memory or NULL in case of error.

◆ ua_ipc_mem_open()

PLATFORM_EXPORT void* ua_ipc_mem_open ( void  )

Open shared memory allocated by another process.

In case MEMORY_USE_SHM is not defined this function might return NULL.

Returns
Pointer to shared memory or NULL in case of error or without shared memory.