Skip to content

PgCustomScanSharedMemory<TShared>

Namespace: Ankus

Assembly: Ankus.Runtime.dll

Gives one process’s parallel custom scan the shared memory the leader and workers coordinate through.

public sealed class PgCustomScanSharedMemory<TShared> where TShared : unmanaged

Type parameters:

TShared

The shared memory’s layout.

PostgreSQL owns the memory and frees it when the parallel scan ends; the handle stops working at that point.

Inheritance: object

Gets the shared memory. Update fields that several processes write with PgAtomicValue<T> operations.

public ref TShared Value { get; }

Value: TShared

Exceptions: