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 : unmanagedType 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
Properties
Section titled “Properties”Gets the shared memory. Update fields that several processes write with PgAtomicValue<T> operations.
public ref TShared Value { get; }Value: TShared
Exceptions:
- ObjectDisposedException: The parallel scan has ended.