IceShard 1
A personal game engine project, with development focused on 2D/2.5D games.
Loading...
Searching...
No Matches
ice::native_aio Namespace Reference

Classes

struct  AIOPortInfo
struct  AIOStatusInfo
struct  AIORequest
struct  AIOProcessLimits

Typedefs

using AIOPort = struct AIOPortInternal*
using AIORequestCallback

Enumerations

enum class  AIORequestResult : ice::u8 { Error , Success , Timeout }

Functions

auto aio_open (ice::Allocator &alloc, ice::native_aio::AIOPortInfo const &info) noexcept -> ice::native_aio::AIOPort
void aio_close (ice::native_aio::AIOPort port) noexcept
auto aio_status (ice::native_aio::AIOPort port) noexcept -> ice::native_aio::AIOStatusInfo
auto aio_native_handle (ice::native_aio::AIOPort port) noexcept -> void *
auto aio_worker_limit (ice::native_aio::AIOPort port) noexcept -> ice::u32
auto aio_process_events (ice::native_aio::AIOPort port, ice::native_aio::AIOProcessLimits limits={}) noexcept -> ice::u32

Detailed Description

Copyright 2025 - 2026, Dandielo dandi.nosp@m.elo@.nosp@m.icesh.nosp@m.ard..nosp@m.net SPDX-License-Identifier: MIT

Typedef Documentation

◆ AIOPort

using ice::native_aio::AIOPort = struct AIOPortInternal*

◆ AIORequestCallback

Initial value:
void(*)(
ice::usize bytes_read,
void* userdata
) noexcept
AIORequestResult
Definition native_aio.hxx:23
Represents a unsigned size value on the given platform.
Definition mem_size_types.hxx:26

Enumeration Type Documentation

◆ AIORequestResult

Enumerator
Error 
Success 
Timeout 

Function Documentation

◆ aio_close()

void ice::native_aio::aio_close ( ice::native_aio::AIOPort port)
noexcept

◆ aio_native_handle()

auto ice::native_aio::aio_native_handle ( ice::native_aio::AIOPort port) -> void *
noexcept

◆ aio_open()

auto ice::native_aio::aio_open ( ice::Allocator & alloc,
ice::native_aio::AIOPortInfo const & info ) -> ice::native_aio::AIOPort
noexcept

◆ aio_process_events()

auto ice::native_aio::aio_process_events ( ice::native_aio::AIOPort port,
ice::native_aio::AIOProcessLimits limits = {} ) -> ice::u32
noexcept

◆ aio_status()

auto ice::native_aio::aio_status ( ice::native_aio::AIOPort port) -> ice::native_aio::AIOStatusInfo
noexcept

◆ aio_worker_limit()

auto ice::native_aio::aio_worker_limit ( ice::native_aio::AIOPort port) -> ice::u32
noexcept