createPlaceholder method

MmapPlaceholder createPlaceholder(
  1. int length
)

Creates a reserved placeholder window that can atomically receive mapped views via MapViewOfFile3(MEM_REPLACE_PLACEHOLDER).

Windows-only today; other platforms throw UnsupportedError.

Implementation

MmapPlaceholder createPlaceholder(int length) =>
    throw UnsupportedError('placeholders are not supported on this platform');