Iros
 
Loading...
Searching...
No Matches
di::platform Namespace Reference

Namespaces

namespace  generic_error
 

Classes

class  GenericDomain
 
struct  TlsIndex
 

Typedefs

using ThreadId = std::thread::id
 
using DefaultLock = std::mutex
 
using DefaultAllocator = container::InfallibleAllocator
 
using DefaultFallibleAllocator = container::FallibleAllocator
 
using BasicError = dius::PosixError
 
using GenericCode = vocab::StatusCode<GenericDomain>
 

Enumerations

enum class  BasicError : long {
  Success = 0 , NotEnoughMemory , ResultOutOfRange , InvalidArgument ,
  ValueTooLarge , OperationCanceled , Cancelled
}
 

Functions

auto get_current_thread_id () -> ThreadId
 
constexpr auto tag_invoke (types::Tag< vocab::into_status_code >, BasicError error)
 
auto __tls_get_addr (TlsIndex *) -> void *
 

Variables

constexpr auto generic_domain = GenericDomain {}
 
constexpr auto posix_domain = GenericDomain {}
 

Typedef Documentation

◆ BasicError

◆ DefaultAllocator

◆ DefaultFallibleAllocator

◆ DefaultLock

◆ GenericCode

◆ ThreadId

typedef types::i32 di::platform::ThreadId = std::thread::id

Function Documentation

◆ __tls_get_addr()

auto di::platform::__tls_get_addr ( TlsIndex * ) -> void*

◆ get_current_thread_id()

auto di::platform::get_current_thread_id ( ) -> ThreadId
inline

Variable Documentation

◆ generic_domain

auto di::platform::generic_domain = GenericDomain {}
inlineconstexpr

◆ posix_domain

auto di::platform::posix_domain = GenericDomain {}
inlineconstexpr