FUnixSharedMemoryRegion

Unix representation of a shared memory region

Windows
MacOS
Linux

Inheritance Hierarchy

FSharedMemoryRegion

FUnixPlatformMemory::FUnixSharedMemoryRegion

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Unix/UnixPlatformMemory.h

Include

#include "Unix/UnixPlatformMemory.h"

Syntax

struct FUnixSharedMemoryRegion : public FSharedMemoryRegion

Remarks

Unix representation of a shared memory region

Variables

Name Description

Protected variable

bool

 

bCreatedThisRegion

Whether we created this region

Protected variable

int

 

Fd

File descriptor of a shared region

Constructors

Name Description

Public function

FUnixSharedMemoryRegion

(
    const FString& InName,
    uint32 InAccessMode,
    void* InAddress,
    SIZE_T InSize,
    int InFd,
    bool bInCreatedThisRegion
)

Functions

Name Description

Public function Const

int

 

GetFileDescriptor()

Returns file descriptor of a shared memory object

Public function Const

bool

 

NeedsToUnlinkRegion()

Returns true if we need to unlink this region on destruction (no other process will be able to access it)

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss