b4d5f4c127
[+] AuIO::IO::EStandardStream
...
[+] AuIO::IOHandle::InitFromStreamEnum(...)
2023-09-13 02:50:59 +01:00
d661363247
[*] Not deprecated enough
2023-09-12 21:31:34 +01:00
bf03124f92
[+] AuThreading::TryWait
2023-09-12 18:47:25 +01:00
8e54071d60
[-] Remove 2 year old 0.0 WaitFor back-off implementation
2023-09-12 18:30:45 +01:00
f08f4a476a
[*] Ehhh. I never liked how I implemented the fallback for MS absolute waits.
...
We should calculate it via a delta between current NS time to avoid NS/MS clock overflows.
Some platforms and points in time may be more resistant than others. Let's assume monotonic time could be really high, this should help mitigate some bad math and branching caused by timeout overflows caused by stupid MS-precise abs waits (not sure why people would favour these over abs ns)
2023-09-12 17:10:51 +01:00
74dc6772b0
[+] Non-mutually exclusive binary semaphore / event wait path
...
[+] ThreadingConfig::gPreferFutexEvent
2023-09-10 14:50:59 +01:00
48dc2e790b
[+] IEvent::TrySet()
...
[+] New atomic logic for AuEvent. With this change, I can stop slandering it as the "shit primitive."
(it's still not the best it could be, but it's an improvement over what i had before)
2023-09-10 14:04:00 +01:00
cea3362186
[*] Finally fixed an old regression: RWLock is back to being write-biased to prevent forever-read conditions
2023-09-09 13:03:02 +01:00
36a72228db
[*] Cleanup/formatting of SMT yields
2023-09-06 17:01:01 +01:00
3d8dd991e0
[*] Adjust non-AURORA_RUNTIME_FORCE_ADAPTIVE_FUTEX futexes
2023-09-06 16:08:41 +01:00
de25694416
[*] bonk (use AuAXXX atomics)
2023-09-02 04:55:43 +01:00
af8737e9d2
[*] 32bit builds can run on 64bit systems
2023-08-30 12:36:59 +01:00
627cdd069f
[+] AuOptional<AuUInt> Aurora::HWInfo::GetSwapSize()
...
[+] AuOptional<AuUInt> Aurora::HWInfo::GetPhysicalSize()
utils
2023-08-30 01:37:49 +01:00
47cec914cb
[*] Refactor FIOConfig::ddefaultBrand -> (AuOptional) FIOConfig::optDefaultBrand
...
[+] FIOConfig::bIsIntranetTrusted
2023-08-29 21:10:53 +01:00
b5a452a43d
[+] AuFS::IsFileBlocked
...
[+] AuFS::IsFileTrusted
2023-08-29 20:30:09 +01:00
47cccd0490
[+] Absolute Win32 version checks
...
[+] bool AuSwInfo::IsWindowsXP()
[+] bool AuSwInfo::IsWindowsXPSP1()
[+] bool AuSwInfo::IsWindowsXPSP2()
[+] bool AuSwInfo::IsWindowsXPSP3()
[+] bool AuSwInfo::IsWindowsXPAny()
[+] bool AuSwInfo::IsWindowsVista()
[+] bool AuSwInfo::IsWindowsVistaSP1()
[+] bool AuSwInfo::IsWindowsVistaSP2()
[+] bool AuSwInfo::IsWindowsVistaAny()
[+] bool AuSwInfo::IsWindows7()
[+] bool AuSwInfo::IsWindows7SP1()
[+] bool AuSwInfo::IsWindows7Any()
[+] bool AuSwInfo::IsWindows8()
[+] bool AuSwInfo::IsWindows8Point1()
[+] bool AuSwInfo::IsWindows8Any()
[+] bool AuSwInfo::IsWindows10()
[+] bool AuSwInfo::IsWindows11()
2023-08-29 16:12:13 +01:00
3503d0ec68
[+] Added Linux signal configuration and separate LinuxConfig type (LinuxConfig)
...
[*] Fix Linux regressions in previous NT commit
2023-08-29 03:11:28 +01:00
ac0981ac1b
[+] bool IsHandleFile(AuUInt uHandle)
...
[+] bool IsHandleTTY(AuUInt uHandle)
[+] bool IsHandlePipe(AuUInt uHandle)
...as opposed to forced IOHandle usage
[+] AuIOHandle
[+] AuSharedIOHandle
2023-08-29 01:37:25 +01:00
55c02d4aa0
[*] Tweak default thread config
...
[*] Fix regressions
2023-08-28 11:48:13 +01:00
209d1939aa
[*] Tweak default thread config
2023-08-27 21:27:49 +01:00
97296d1fe9
[*] ThreadingConfig::bPreferEnableAdaptiveSpin
2023-08-27 20:26:36 +01:00
8fe2619673
[*] Rework SMT yielding
2023-08-27 19:56:22 +01:00
b8458990c9
[*] Amend a41a2719
2023-08-27 18:25:04 +01:00
4674f45dd3
[*] Support for further Win32 API degradation / historical OSes / emulators
2023-08-27 17:43:29 +01:00
5cf7533eab
[*] Linux and UNIX QOL
2023-08-27 12:42:10 +01:00
9bd05a0752
[+] HashStream SOO
...
[+] HashSteam extension padding for future use
2023-08-26 21:32:49 +01:00
a41a27198e
[*] zoom
2023-08-26 21:11:27 +01:00
87c3ac790d
[*] FutexCondWaitable::NotifyOne was bothering me
2023-08-26 18:43:57 +01:00
346a9f3bde
[*] More aggressively wake up reorder prone (unlikely) condvars under broadcast (unlikely)
2023-08-26 15:56:59 +01:00
3898a41198
[*] Adopt new ROXTL atomics
...
...AuAtomicLoad + AuAtomicClearU8Lock
2023-08-23 22:03:00 +01:00
921fee1b8d
[+] IAuroraThread::SetNoUnwindTerminateExitWatchDogTimeoutInMS
2023-08-23 17:01:56 +01:00
412630077d
[+] ThreadingConfig::bPreferWaitOnAddressAlwaysSpin
2023-08-23 16:45:08 +01:00
d79cb4f3ca
[*] RWLock: WakeOnAddress optimization on wait to prevent mutex congestion on modern OSes
2023-08-23 15:37:55 +01:00
03a3532a20
[+] Option macro: AURORA_RUNTIME_FORCE_ADAPTIVE_FUTEX
2023-08-22 13:58:17 +01:00
d25e6ef7f3
[*] zoomzoom
2023-08-22 13:15:45 +01:00
7ad725ca04
[+] Global adaptive spin
2023-08-22 13:01:06 +01:00
ccfd0fafab
[*] Why must all languages be garbage at expressing life-span of constness?
...
This is const-correct, as in, we don't expect to modify the pointer; you dont need to be a writer
This was const-correct, as in, this field better be a volatile block of memory you expect to update - plz dont to any retarded assumptions based on it being "const," compiler.
2023-08-22 11:08:56 +01:00
3747fb7c6f
[+] ThreadingConfig::uUWPNanosecondEmulationMaxYields
...
[+] ThreadingConfig::bUWPNanosecondEmulationCheckFirst
2023-08-22 09:56:32 +01:00
76ac770674
[*] Update a handful of condvar cas's and account for laziness along the way
2023-08-22 09:44:54 +01:00
fa170c413d
[*] More compact Linux primitives
2023-08-21 19:17:05 +01:00
5cc811be19
[*] More compact Win32 primitives!
2023-08-21 17:34:24 +01:00
f847ab049a
[+] ThreadingConfig::bPreferRWLockReadLockSpin
2023-08-21 16:25:51 +01:00
a60a1b3088
[*] dont assume these condvar paths cant underflow
2023-08-21 00:25:29 +01:00
3fe2d15a2f
[+] AuProcesses::StartupParameters::environmentVariables
...
[+] AuProcesses::StartupParameters::bInheritEnvironmentVariables
[+] AuProcesses::StartupParameters::handleOutStream
[+] AuProcesses::StartupParameters::handleErrorStream
[+] AuProcesses::StartupParameters::handleInputStream
[+] AuProcesses::StartupParameters::optAffinity
2023-08-20 23:58:32 +01:00
58302586a9
[*] Minor optimizations: AuThreading::Waitable::Futex*
2023-08-20 17:11:50 +01:00
b8d4e02ab5
[+] Aurora::Threading::GetThreadingConfig
...
[+] Aurora::Threading::SetThreadingConfig
[*] Save a few bytes in Aurora::ThreadingConfig
2023-08-20 16:23:03 +01:00
2a82e406a3
[+] AuBinarySemaphore (shorthand)
2023-08-20 14:43:00 +01:00
0927d51a53
[-] Deprecation of Aurora::Threading::Waitables
2023-08-20 13:35:50 +01:00
f1a08d25e7
[+] AuUInt32 GetTotalSpinCountTimeout()
...
[*] Fixup FutexWaitable
2023-08-20 09:47:31 +01:00
2d2d66f410
[*] FutexCondWaitable infinite sleep fix
2023-08-19 22:29:09 +01:00
202df79d0b
[+] (shorthand) AuCondEx
2023-08-19 22:27:26 +01:00
7ce89a143f
[+] FutexCondWaitable
...
[+] (shorthand) AuMutex
[+] (shorthand) AuSemaphore
[+] (shorthand) AuRWRenterableLock
[+] (shorthand) AuRenterableMutex
[+] (shorthand) AuRWLock
[+] (shorthand) AuCond
[+] (shorthand) AuCondMutex
[+] (shorthand) AuSpinLock
[+] (shorthand) AuFutexCond
2023-08-19 22:25:31 +01:00
fd643b81ce
[+] AuFutexMutex
...
[+] AuFutexSemaphore
(...aliases)
2023-08-19 20:39:13 +01:00
b236469d06
[*] Made WakeOnAddress trigger pointers always const
2023-08-19 20:37:24 +01:00
412cdfb28b
[+] FutexSemaphoreWaitable
2023-08-19 20:36:57 +01:00
0b2abc49fb
[+] A small header only futex
2023-08-19 20:09:32 +01:00
2fae266876
[*] Fix WakeOnAddress constness of the comparison argument
2023-08-19 19:48:24 +01:00
8bf6bdd963
[+] More threading options
...
[+] AuThreading::SetSpinCountTimeout
[+] AuThreading::SetThreadLocalAdditionalSpinCountTimeout
2023-08-19 18:16:48 +01:00
7dd6145dc1
[*] Always use unsigned integers under the semaphore classes
2023-08-18 15:26:31 +01:00
1c2673fc0a
[*] Begin using SOO No-Move and No-Copy macros
2023-08-16 09:47:54 +01:00
3df8621944
[+] NT: IOHandle::IsFile(), IOHandle::IsTTY(), IOHandle::IsPipe()
...
[*] Revert to supporting write-only handles
2023-08-15 14:46:21 +01:00
ab5274b1f6
[*] Fix some blatantly incorrect Linux x86_32 SOO values
2023-08-13 20:21:35 +01:00
04956bedba
[*] Shorten the expected overhead of some Linux primitives
2023-08-13 20:09:58 +01:00
f265ca267a
[+] IThreadPool::AddDependency
2023-08-13 09:30:17 +01:00
bde0014d16
[*] Did I forget half-way through edcc9efac37919f25838f6cc66cdd32892492ff2?
2023-08-12 14:15:51 +01:00
6ec2fcc4b6
[*] Added timeout awareness in ConditionEx; returns false on timeout
...
[*] Updated Linux SOO sizes
2023-08-12 11:18:19 +01:00
1f173a8799
[*] Begin resolving 8 months of Linux neglect
2023-08-11 16:51:42 +01:00
a534375008
[*] fuck you
2023-08-10 03:43:48 +01:00
0f12603390
[+] AuAsync::NewWorkFunction
...
[+] AuAsync::IThreadPool::NewWorkFunction
[+] AU_DEBUG_MEMCRUNCH
2023-08-10 03:36:19 +01:00
dd13098022
[*] Transition to dynamic tick-based scheduling
...
[*] Re-do AuAsync reference counting
[+] IWorkItem::SetSchedSteadyTimeNsAbs
[*] Irrelevant IIOProcessor sources are now discarded in evaluating whether or not a thread-pool in special running mode should shutdown
[*] Transition WorkItems to only use steady time
[*] Refactor AsyncConfig
[*] Drop default SMT spin time from hundreds of cycles to ~32 so that we can sit nicely at the bottom of task manager unless the application calls for extra responsivity
2023-08-09 03:21:14 +01:00
424cccd00a
[+] IAsyncTransaction::HasCompleted
2023-08-09 00:14:36 +01:00
df6f29bf38
[+] IAsyncTransaction::SetBaseOffset
2023-08-09 00:02:35 +01:00
aaeca44fb0
[+] ByteBuffer::WriteTagged<T>
...
[+] ByteBuffer::ReadTagged<T>
2023-08-08 00:08:54 +01:00
1cd56ab161
[*] Minor AuByteBuffer TypeReadWrite "improvements"
...
(more like, i cant be bothered to finish this in a clean way and we need a minimum viable product)
2023-08-07 23:15:47 +01:00
8bede175e3
[*] error C2344: align(24): alignment must be power of two
2023-07-30 11:04:45 +01:00
86afd39dc3
[*] Runtime config padding
2023-07-30 10:00:18 +01:00
ceb5b2961e
[+] FALLBACK_WAKEONADDRESS_SUPPORTS_NONEXACT_MATCHING
...
[+] ThreadingConfig::bPreferEmulatedWakeOnAddress
2023-07-30 09:52:41 +01:00
5e94be7487
[*] ConditionEx::WaitForSignalRelativeNanoseconds -> WaitForSignalNS
2023-07-29 09:52:59 +01:00
9ce4e08d36
[+] IFileStream::GetHandle()
2023-07-29 09:13:43 +01:00
9f78555693
[*] Updated AuProcess mapping API to use file handles
2023-07-29 09:02:55 +01:00
4ad2a54ccf
[+] IPCPipe::GetCurrentSharedDuplexHandles()
2023-07-29 09:02:05 +01:00
7e2aa2de3d
[+] AuIO::IIOHandle
2023-07-29 08:02:47 +01:00
73548b00d7
[*] Refactor: added missing opt reference in member
2023-07-28 08:10:08 +01:00
ff0fbed560
[*] whatever
2023-07-27 23:00:11 +01:00
3d9ad0350e
[*] now brotli maps uWindowBits to BROTLI_PARAM_LGWIN
...
[+] CompressInfo::uQuality
2023-07-27 22:55:28 +01:00
3db5554673
[+] brotli now respects CompressInfo::uCompressionLevel
...
[+] brotli now respects CompressInfo::uBlockSize
[*] refactored CompressInfo::uLz4BlockSize -> CompressInfo::uBlockSize
[*] zstd decompressor now respects user arguments
[*] zstd compressor now respects user arguments
[*] brotli decompressor now respects user arguments
[*] brotli compressor now respects user arguments
2023-07-27 20:45:49 +01:00
6e035195f7
[+] Aurora::IO::Protocol::IProtocolLimitable
2023-07-27 17:26:23 +01:00
2b777f1e38
[+] IIOProcessor::ConfigureNoDeferredTicks (hack for Qt modals)
2023-07-27 16:31:47 +01:00
b411c710d1
[+] IConditionVariable::WaitForSignalNS
2023-07-25 15:59:04 +01:00
66cfbb5351
[+] FlexibleConditionVariable::WaitForSignalRelativeNanoseconds(AuUInt64 uRelativeNanoseconds)
...
[+] FlexibleConditionVariable::WaitForSignalRelativeNanoseconds(Threading::IWaitable *pWaitable, AuUInt64 uRelativeNanoseconds)
[+] FlexibleConditionVariable::WaitForSignalRelativeNanoseconds(AuUInt64 uRelativeNanoseconds)
[*] Refactor FlexibleConditionVariable
2023-07-25 12:38:49 +01:00
dab6e9caee
[*] Refactor: FeaturefulCondition -> FlexibleConditionVariable
...
[+] SOO for FlexibleConditionVariable
2023-07-25 12:27:08 +01:00
593dc16897
[*] Minor Include/* changes (1x typo, 1x default change)
...
Closes #38
2023-07-16 16:52:53 +01:00
8a4fc0d9c3
[*] Amend runtime config typo: Prefer*
...
[-] Redundant AuTime header (ExtendedTimer.hpp)
2023-07-13 19:50:18 +01:00
6e59770eee
[-] Theory crafted future AuProcesses API from yesteryear
2023-07-13 06:29:41 +01:00
66b948697b
[+] Missing x509 members
...
[*] Added POSIX-like rng fd close on deinit
[*] Added verbose arg checks for unix env vars
2023-07-10 20:58:12 +01:00
bdec6ff8ba
[+] AuProcess::EnvironmentGetAll
...
[+] AuProcess::EnvironmentGetOne
[+] AuProcess::EnvironmentSetOne
[+] AuProcess::EnvironmentRemoveOne
[+] AuProcess::EnvironmentRemoveMany
[+] AuProcess::EnvironmentSetMany
[+] AuProcess::GetProcessStartupTimeNS
[+] AuProcess::GetProcessStartupTimeMS
[*] Note WakeOnAddress on all platforms
[*] Updated READMEs
2023-07-10 17:00:42 +01:00
e43145dc8e
[*] This is seriously stupid but these legacy sewage classes can be upgraded for the hell of it
2023-07-09 21:46:15 +01:00
3e13bd17f7
[*] Clean up Runtime config
...
[*] Refactor DirectoryLogger
2023-07-09 21:21:49 +01:00
75b71275e7
[*] Made past and present NT condvar optional spin steps configurable via the runtime config
2023-07-09 20:52:31 +01:00
9a27f3d44b
[*] Lower idle CPU usage (idle utilization regression)
2023-07-09 18:49:15 +01:00