AuroraRuntime/Source/RuntimeInternal.hpp
Reece 44108a322e 2/3 of the IO update (very early implementation)
[+] TTYConsole::GetPaddingTopOfLog,GetPaddingHeadOfLog,GetPaddingTopOfLog [+ set variants]
[+] IO::IOYield()
[+] IO::IAsyncTransaction::Failed,GetOSErrorCode()
[+] IByteBufferStreamPair
[+] IIOBufferedInterceptor
[+] IIOBufferedProcessor
[+] IIOEventListener
[+] IIOPipeEventListener
[+] IIOProcessorEventListener
[+] IIOProcessorManualInvoker
[+] IIOWaitableIOLoopSource
[+] IIOWaitableIOTimer
[+] IIOWaitableItem
[+] IIOWaitableTickLimiter
[+] IOAdapterAsyncStream
[+] IOAdapterByteBuffer
[+] IOAdapterCompression
[+] IOAdapterSeeking
[*] Cleanup CpuInfo.Linux.cpp
[*] Fixup async threadpool some more
[*] LSTimer.NT.cpp updates timer object on tick state update, akin to Linux
2022-06-12 00:01:27 +01:00

66 lines
1.2 KiB
C++

/***
Copyright (C) 2021 J Reece Wilson (a/k/a "Reece"). All rights reserved.
File: RuntimeInternal.hpp
Date: 2021-6-12
Author: Reece
***/
#pragma once
//#include <AuroraCommon.hpp>
#include <AuroraEnvironment.h>
#if defined(AURORA_PLATFORM_WIN32)
#if !defined(NOMINMAX)
#define NOMINMAX
#endif
#if !defined(WIN32_LEAN_AND_MEAN)
#define WIN32_LEAN_AND_MEAN
#endif
//_WIN32_WINNT=0x0601
#include <SDKDDKVer.h>
#include <winsock2.h>
#if defined(_AUHAS_ASIO)
#include <asio.hpp>
#endif
#include <windows.h>
#else
#if defined(_AUHAS_ASIO)
#include <asio.hpp>
#endif
#endif
#if defined(AURORA_IS_POSIX_DERIVED)
#define AURORA_HAS_PTHREADS
#define _FILE_OFFSET_BITS 64
#if !defined(_LARGEFILE64_SOURCE)
#define _LARGEFILE64_SOURCE
#endif
#include <pthread.h>
#include <semaphore.h>
#include <signal.h>
#include <stdlib.h>
#include <unistd.h>
#define stricmp strcasecmp
#if defined(AURORA_IS_LINUX_DERIVED)
#include <sys/eventfd.h>
#endif
#endif
#define GIMME_IOWAITABLEITEM
#include <AuroraRuntime.hpp>
inline Aurora::RuntimeStartInfo gRuntimeConfig;
using namespace Aurora::Logging;