Shared_Memory_Channel module

reader_create_channel_os_specific

procedure · 1 overloadSource

The platform half of reader_create_channel, which calls it: creates the shared-memory object (shm_open with O_EXCL on Unix, a file mapping on Windows), maps it and writes the header. Call reader_create_channel instead.

reader_create_channel_os_specific :: (
    name: string,
    bytes: s64
) -> (success: bool, channel: Read_Channel)

The platform half of reader_create_channel, which calls it: creates the shared-memory object (shm_open with O_EXCL on Unix, a file mapping on Windows), maps it and writes the header. Call reader_create_channel instead.

Parameters

name: string
bytes: s64

Returns

success: bool
channel: Read_Channel

See also