3747fb7c6f
[+] ThreadingConfig::uUWPNanosecondEmulationMaxYields
...
[+] ThreadingConfig::bUWPNanosecondEmulationCheckFirst
2023-08-22 09:56:32 +01:00
cf363b9f5b
[*] Ensure this never throws
2023-08-22 09:45: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
cd362db7af
[*] Deaf, dumb, and blind
2023-08-21 19:20:52 +01:00
fa170c413d
[*] More compact Linux primitives
2023-08-21 19:17:05 +01:00
e8f445c463
[*] Linux build regression / AuProcesses API change
2023-08-21 17:48:48 +01:00
5cc811be19
[*] More compact Win32 primitives!
2023-08-21 17:34:24 +01:00
869512e651
[*] Optimization: Remove two stupid branches in RWLock
2023-08-21 16:33:32 +01:00
f847ab049a
[+] ThreadingConfig::bPreferRWLockReadLockSpin
2023-08-21 16:25:51 +01:00
e1f384de2e
[*] RWLock: improper upgrade handshake
...
The switch over to two condvars still doesnt seem right
2023-08-21 16:20:52 +01:00
681c4b9158
[*] RWLock: revert this branch to checking for 0 and 1 remaining readers
...
[*] Formatting
2023-08-21 16:08:30 +01:00
e2909ebe74
[*] RWLock: Upgrade UpgradeReadToWrite sleep path
2023-08-21 16:02:55 +01:00
68b4fe5f8b
[*] RWLock: not implementing LockAbsMS and LockAbsNS can hurt the hotpath
2023-08-21 15:50:45 +01:00
d1b1bfb221
[*] Caught an issue with RWLock: cant reenter unlocked reentrance mutex.
2023-08-21 15:39:56 +01:00
631ffab1a2
[*] stupid formatting crash
2023-08-21 15:32:22 +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
b8d4e02ab5
[+] Aurora::Threading::GetThreadingConfig
...
[+] Aurora::Threading::SetThreadingConfig
[*] Save a few bytes in Aurora::ThreadingConfig
2023-08-20 16:23:03 +01:00
08f30017b8
[*] regression: b236469d06
cont
2023-08-20 13:41:53 +01:00
71617ca66e
[*] Format SMT spin
2023-08-20 09:50:41 +01:00
f1a08d25e7
[+] AuUInt32 GetTotalSpinCountTimeout()
...
[*] Fixup FutexWaitable
2023-08-20 09:47:31 +01:00
b236469d06
[*] Made WakeOnAddress trigger pointers always const
2023-08-19 20:37:24 +01:00
2fae266876
[*] Fix WakeOnAddress constness of the comparison argument
2023-08-19 19:48:24 +01:00
fa34f7dcef
[*] Regression in 262d76dd
2023-08-19 19:04:30 +01:00
8874fd9810
[*] Cache Win8+ check
2023-08-19 18:49:16 +01:00
19224d2eed
[*] Default back to zero. Do not throw off other threads if only used once
2023-08-19 18:39:13 +01:00
ab4971ef9c
[+] Linux threading options
2023-08-19 18:33:54 +01:00
8bf6bdd963
[+] More threading options
...
[+] AuThreading::SetSpinCountTimeout
[+] AuThreading::SetThreadLocalAdditionalSpinCountTimeout
2023-08-19 18:16:48 +01:00
e6bf022bef
[*] Atomic SOCK_CLOEXEC-awareness on some UNIX systems
2023-08-19 15:06:59 +01:00
ef4dc9bc18
[*] Alternative panic path for older Win32 targets
2023-08-19 13:30:44 +01:00
7fb8b89def
[*] Some unwanted indirect branching is still bleeding in; mark more primitive classes as final
2023-08-19 11:41:37 +01:00
92ebafecab
[*] Suppress a number of antisemitic clang warnings
2023-08-18 23:32:46 +01:00
ad5bbee6b2
[*] Linux: optimize futex wrappers
2023-08-18 22:51:47 +01:00
836edbabdd
[+] Linux and BSD specific RNG
...
[*] Improved UNIX rng read check
2023-08-18 22:38:17 +01:00
ebce7e0048
[*] Alternative solution for FOLDERID_UserProgramFiles when targeting <= Windows Vista
2023-08-18 18:38:11 +01:00
61df62213f
[*] Found some missing close handles in some error paths
2023-08-18 16:23:28 +01:00
4240966512
[*] Two trivial changes (not fixing or improving anything)
2023-08-18 15:53:38 +01:00
7dd6145dc1
[*] Always use unsigned integers under the semaphore classes
2023-08-18 15:26:31 +01:00
2a1556d80c
[*] Optimize Linux semaphore
2023-08-17 23:06:02 +01:00
b6ff6b1623
[*] Ensure child thread pools can shutdown their parent
2023-08-17 11:46:25 +01:00
9502930c1b
[*] Linux lower latency fix
2023-08-15 20:28:13 +01:00
e825531558
[+] Unix: IOHandle::IsFile(), IOHandle::IsTTY(), IOHandle::IsPipe()
2023-08-15 15:04:13 +01:00
78634d11db
[*] NT File Stream: unlikely race condition
2023-08-15 14:48: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
9cea2fe82a
[*] This was bothering me
2023-08-15 14:19:23 +01:00
79371fc82f
[*] Linux stat regression?
2023-08-15 09:03:22 +01:00
4db0d3c6af
[*] Regressed written length check in: 7100c807
2023-08-15 08:45:44 +01:00
04956bedba
[*] Shorten the expected overhead of some Linux primitives
2023-08-13 20:09:58 +01:00
3828712273
[*] Supporting Linus-OS is causing me more HEADACHES
...
(fix nt regression in linux catch-up commit)
2023-08-13 16:02:20 +01:00
f265ca267a
[+] IThreadPool::AddDependency
2023-08-13 09:30:17 +01:00
6ec2fcc4b6
[*] Added timeout awareness in ConditionEx; returns false on timeout
...
[*] Updated Linux SOO sizes
2023-08-12 11:18:19 +01:00
7962772c62
[+] Added Linux-specific condvars and condmutex
2023-08-12 11:11:12 +01:00
737d3bb4d6
[+] AuProcAddresses.Linux.*
2023-08-12 10:16:20 +01:00
1f173a8799
[*] Begin resolving 8 months of Linux neglect
2023-08-11 16:51:42 +01:00
7100c807c8
[*] Unify FS write utilities
2023-08-11 06:21:42 +01:00
0f12603390
[+] AuAsync::NewWorkFunction
...
[+] AuAsync::IThreadPool::NewWorkFunction
[+] AU_DEBUG_MEMCRUNCH
2023-08-10 03:36:19 +01:00
a0c82788d9
[*] AuAsync optimization: remove some rwlock guards
2023-08-10 01:31:10 +01:00
7dda7ae358
[*] AuAsync shutdown is still a mess
2023-08-10 01:20:34 +01:00
7865749348
[*] dd130980
cont: improved AuAsync scheduling
2023-08-10 01:13:44 +01:00
e68dc02e7e
[+] Secret AuAsync::KeepThreadPoolAlive api (for now)
2023-08-09 10:30:24 +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
fc08e8351d
[+] Begin work on a POSIX 2001 based clock implementation as opposed to the retarded stinking free-shit glibc toddlers hacked together alongside linux vdso. Once again, a POSIX spec from 2001 and NT kernel releases from 2 decades ago are much better than whatever the hell Linux toddlers are up to in the 2020s.
...
Fuck your 1998 POSIX1.b UNIX ass interface with extensions that dont even provide the functionality of POSIX 2001.
Much like how UWP is forcing us to support Windows XP, Linux retardation is pushing us towards legacy POSIX support (the deprecation of AuProcesses pidfd requirements, now this)
Alongside this, #60 , this is yet another monthly reminder that the Linux kernel maintainers are the most useless incompetent boomers gluing forced-source drivers into a monolithic mess.
PS: if i wasnt malding before, i am now after trying to unearth the context of this disaster.
https://nextcloud.reece.sx/index.php/s/jx82SsygJYWSir6/preview
https://nextcloud.reece.sx/index.php/s/RpRpNbnBixyMT5G/preview
https://nextcloud.reece.sx/index.php/s/NfMfDCcxL6sfXCf/preview
https://nextcloud.reece.sx/index.php/s/7A4t5JNzzFctPT6/preview
https://nextcloud.reece.sx/index.php/s/cyYwm8GPLKiLFqS/preview Bills peen company had this figured out before < LINUX 2.2 1999 EVEN HAD CLOCK APIs. ARE YOU FUCKING KIDDING? LINUXs MAIN CLOCK IMPLEMENTATION WASNT EVEN DONE UNTIL 2002 BY ONE GEORGE BECAUSE PATHER DIDNT FUCK IT UP ENOUGH?
Freetards should get the wall. I don't know how these braindead fuckers could've ever eaten a bowl of cereal without choking on the milk and dying.
* 2002-10-15 Posix Clocks & timers by George Anzinger
[...]
These are all the functions necessary to implement
POSIX clocks & timers
Meanwhile at Microsoft in 1997, ...
I just cant anymore. Why the fuck are we even paying lip service to Linshit?
2023-08-04 00:42:51 +01:00
262d76ddee
[*] Windows 7 and predecessors: AuHwInfo memory usage queries seem... off
2023-08-03 23:29:46 +01:00
c85d65aa59
[*] NT: these file handles must be marked async if reimported
2023-07-30 14:27:33 +01:00
9a2e5674e8
[*] RWLock improvements
2023-07-30 11:23:40 +01:00
c889af13e5
[*] bNoThreadNames option wasnt respected
2023-07-30 10:00:54 +01:00
ceb5b2961e
[+] FALLBACK_WAKEONADDRESS_SUPPORTS_NONEXACT_MATCHING
...
[+] ThreadingConfig::bPreferEmulatedWakeOnAddress
2023-07-30 09:52:41 +01:00
c306c12763
[*] Improve WakeOnAddress by hash binning by kDefaultWaitPerProcess instead the previous iteration before BST or HashTree lookup
2023-07-30 09:34:39 +01:00
3ff5d8a74e
[*] NT FSStream: Added more push debug errors
2023-07-29 10:13:25 +01:00
c05a859638
[*] nt: fix new blocking over async paths (eos handling)
2023-07-29 10:07:27 +01:00
a79caa707f
[*] autism
2023-07-29 10:00:16 +01:00
5e94be7487
[*] ConditionEx::WaitForSignalRelativeNanoseconds -> WaitForSignalNS
2023-07-29 09:52:59 +01:00
a8daf3ff4f
[*] Minor failover fix (Nt delete on close)
2023-07-29 09:48:18 +01:00
82d334177f
[*] another half-assed brotli path (can you tell i didnt care about this compressor?)
2023-07-29 09:18:02 +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
0cf38d5fcd
[*] Fix: IPC test fails on Windows 7
2023-07-28 17:54:30 +01:00
89dd94f8bd
[*] shid
2023-07-28 17:16:57 +01:00
247e702712
[*] Compression window bits regression
2023-07-28 16:12:33 +01:00
7fa0a52e2c
[*] Fix FS Watcher under Windows XP -> Windows 7
2023-07-28 14:20:45 +01:00
4a5cb3c168
[*] oops
2023-07-28 08:55:19 +01:00
73548b00d7
[*] Refactor: added missing opt reference in member
2023-07-28 08:10:08 +01:00
2ce69049d9
[*] uQuality brotli fix
2023-07-28 07:44:16 +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
c084f18c62
[*] Resolve one stated Windows 7 defect
2023-07-27 19:55:41 +01:00
5dddc9d0d8
[*] Qt: More LoopQueue NT fun
2023-07-27 19:06:09 +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
76262c2e3e
[*] Trivial Win8+ condvar broadcast improvement (pragmatism)
2023-07-25 15:28:02 +01:00
1a383f8157
[*] Two annoying formatting issues in RWLock
2023-07-25 12:57:47 +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
daf6108902
[*] Removed retarded code inspired by late 90s - 2003 Microsoft Andy-IQ engineering
...
This was bothering my autism
2023-07-25 11:57:22 +01:00
b48966a39e
[*] Caught uninitialized member
2023-07-25 02:12:19 +01:00
d45dc977d8
[*] NT: Further reduce Win32 link-time requirements cont ( 1948dd0c
)
2023-07-24 12:48:42 +01:00
1948dd0c1a
[*] Further reduce Win32 link-time requirements
2023-07-24 07:17:08 +01:00
f919452bc4
[*] ( 654cc8fe
cont) Win XP -> 8: CpuInfo::maskAllCores fix
2023-07-14 18:30:21 +01:00
788dde684b
[*] Windows Vista, UWP, and Windows 11: Move Windows 7 and 8 SetThreadGroupAffinity symbol from the IAT to AuProcAddresses.NT.[c/h]pps object
...
[*] Update the READMEs support table
2023-07-14 16:33:26 +01:00
654cc8fe04
[*] Win XP -> 8: CpuInfo::pCoreTopology fix
2023-07-13 23:23:28 +01:00
c4806f8e81
[*] This was bothering my autism for a while and I need to rebuild anyway.
2023-07-13 20:00:28 +01:00
8a4fc0d9c3
[*] Amend runtime config typo: Prefer*
...
[-] Redundant AuTime header (ExtendedTimer.hpp)
2023-07-13 19:50:18 +01:00
115ee1a9ec
[*] Improve time based RNG failover implementation
2023-07-13 05:58:53 +01:00
29226b8134
[*] Never rely on the CRT for clean-up if an API user requests us to exit
2023-07-11 21:01:23 +01:00
adefbbe16b
[*] Harden time based RNG
...
[*] RNG needs specific optimal paths for Win10 and older oses
[+] Internal RtlGenRandom
2023-07-11 18:02:40 +01:00
655f1839c5
[+] Internal void Aurora::Win32Terminate()
...
[+] Global NT-like Aurora::gUseFastFail
2023-07-11 15:21:55 +01:00
c0388144d0
[*] Amend win 10+ ecore awareness ( d192e2529f
)
2023-07-11 01:48:51 +01:00
8bf351e007
[*] NT Win8+ fix: improper condvar wake up
...
[*] Fix kThreadIdAny regression
2023-07-11 00:54:54 +01:00
d6739f5196
[*] Amend process creation time. I did a dumb. ( bdec6ff8
)
2023-07-10 21:43:08 +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
c90a13ad95
[*] Minor NT optimization: move branch
2023-07-10 20:06:18 +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
a977f0d1b5
[*] NT: backport unix optimization - no spin during spurious wake up
2023-07-10 13:12:17 +01:00
536522743a
[*] Move this branch in NTs condvar
2023-07-10 12:31:06 +01:00
8c84ecf892
[*] Win8+: Experimental primitive improvements by taking notes from Win7 cycle pinching
...
[*] +regression in condvar
2023-07-10 01:13:55 +01:00
355f7db711
[*] Forgot to reintroduce these: 75b71275
(cont)
2023-07-09 22:34:31 +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
03dbfeefe1
[*] Enhance Windows 7 scheduling resolution
2023-07-09 12:56:35 +01:00
8a853a7a4a
[*] Whoops
2023-07-09 12:11:38 +01:00
14d60ee2d0
[*] Wanna drop threaten to drop older APIs from the Windows Runtime? Alright, we're being pushed towards Windows XP support by accident.
2023-07-09 11:26:41 +01:00
8c5a706dc6
[*] Reintroduce regressed branch; missing indirect branch validation before call
2023-07-09 11:02:35 +01:00
627bdddfdc
[*] Ensure AuProcAddresses.NT.* is used for all dynamically linked symbols
2023-07-09 10:03:29 +01:00
d192e2529f
[*] Move GetSystemCpuSetInformation to AuProcAddresses.NT.cpp
...
[*] Fixed e-core awareness under modern nt targets
2023-07-09 10:02:21 +01:00
a0794a2cc9
[*] Caught early deinit crash
2023-07-07 19:39:28 +01:00
5f9fcce0a1
[*] fixed logic in dirlogarchive
...
todo: get around to improving dirlogarchive
2023-07-06 21:27:47 +01:00
72c38548c0
[*] Fix DirLogArchive suffixes
2023-07-06 21:13:01 +01:00
4d1201a4c1
[+] EStreamForward::eNewConsoleWindow
...
[*] NT: Improve the selection of flags used when spawning processes
[*] NT: Caught regression in NTs FS/generic transaction IsSignaled
2023-07-06 13:44:32 +01:00
62b41ff93e
[*] Further deprecate the "high res" clock
...
(might introduce a fast low res clock, tbd)
2023-07-06 10:17:22 +01:00
94e2f7924e
[-] More redundant code from WakeOnAddress
2023-07-06 09:47:46 +01:00
b90feae7d0
[-] Remove preemptive POSIX optimization
...
This'll just get in the way of Linux optimizations for the sake of trying to hit the correct yield period without a spurious wake up - all in one shot.
2023-07-06 09:41:09 +01:00
e2758ea243
[-] Remove unused code from WakeOnAddress
2023-07-06 09:37:58 +01:00
99e8c68c62
[*] Update a Win8+ sync branch; can back out earlier
2023-07-05 19:32:01 +01:00
e2accb900b
[*] Begin work around for use after thread-local free; WaitOnAddress emulation
2023-07-05 18:25:07 +01:00
2d06725b8b
[*] Amend compression/decompression error checking; ensure correct library specific OK value is used
...
[*] Amend LZMA flushing
2023-07-05 17:06:30 +01:00
00cb256f06
[+] Reintroduce LZMA support after dropping support for the compression algorithm during the initial rewrite
2023-07-05 13:56:08 +01:00
e9e72dce09
[+] UDP-as-sockets send channel
2023-07-04 15:17:00 +01:00
9fcee7041e
[*] Amended Win7 fast fail path
2023-07-03 19:40:38 +01:00
677a845614
[*] amend a7730ed8
2023-06-30 15:42:50 +01:00
ca2c0462ab
[*] Continue to refactor allocations of synchronization primitive away
...
[*] NT: Fix missing CoTaskMemFree leak on startup
[*] Fix ConsoleStd restart bug
2023-06-28 10:33:12 +01:00
3563ece47b
[*] Improve non-fatal exception handling
2023-06-28 04:48:25 +01:00
894df69fe0
[*] remove redundant branch from sync primitive
...
[*] optimize event
2023-06-28 02:24:53 +01:00
1265027550
[*] Cap ConsoleTTY buffer to 10k entries
2023-06-27 12:40:47 +01:00
a454a2d71e
[*] Sync primitive improvements
...
[*] Reverted a change for UNIX: always never-spin acquire under observational lock
[*] Decreased common case of syscall operations under Linux and UNIX
[*] Unix signaling: prevent waits while during condvar wake up by unlocking before the signal
[*] NT no wait: semaphores must not spin under lock
2023-06-26 08:59:49 +01:00