0c494cb99a
[*] another preemptive linux fix. i missed a step in calculating the mask (i didnt calculate the mask at all)
2023-04-16 23:58:27 +01:00
5d979bff6d
[*] I dont think this path is really hit but still we shouldnt wake up after 4 seconds under here
2023-04-12 12:26:53 +01:00
abed78a15f
[*] QtCore6 crash on Windows 7
2023-04-06 22:24:47 +01:00
6e7cee70e1
[*] added mandatory smt spin here
2023-04-05 09:42:48 +01:00
6c25b5a5e6
[*] atomicity bug fix: hold up this is bad
2023-04-03 10:13:29 +01:00
d755a9d651
[*] Massive perf boost by removing atomic and
...
[*] Refactor ambiguous IWaitable::Lock(timeoutMs) to LockMS to prevent final using collisions
2023-04-03 08:21:44 +01:00
39072499dd
[*] remove dumb cas loops
...
[*] refactor
2023-04-01 09:53:00 +01:00
440b5877b2
[*] link errors
2023-03-22 16:59:21 +00:00
c22a13ec56
[*] preemptive linux fix [?]
2023-03-22 15:19:32 +00:00
8272959249
[*] Further compress
2023-03-22 13:42:07 +00:00
6974c713f7
[+] Allocationless thread primitives
...
[*] Rename SMPYield to SMTYield
2023-03-21 03:19:22 +00:00
5d8f4e6901
[*] Further optimize
2023-03-17 15:41:05 +00:00
a1f4614316
[*] i see a possible bug
2023-03-16 22:18:52 +00:00
1476307a60
[*] Force this optimization under nonship builds
2023-03-16 19:24:05 +00:00
e5981a5747
[*] Reintroduce the older implementation based on Vista sync primitives when best implementation under NT 5.1 apis isn't available (microsoft being cunts under the false guise of sandboxing xbox and uwp)
2023-03-16 18:25:23 +00:00
02684d543e
[*] New NT mutex should carry the fail under this unlikely path
2023-03-16 17:33:29 +00:00
2863d2c910
[*] pls do a zoomie
2023-03-15 17:54:59 +00:00
b4b7e4a083
[*] Repressing these vtables helps us get our time to wake down
2023-03-15 16:53:43 +00:00
89057139b3
[*] Further work on the legacy NT primitives
...
(can still be improved, optimized, and bug fixed)
(will add a build toggle between the old SRW and this)
(...and ironically it seems like our time to wake times are worse now)
2023-03-15 16:13:09 +00:00
0ad854284e
[*] NT Condvar: Clean up
2023-03-15 08:43:46 +00:00
49bfecee32
[*] i need sleep and i broke the core primitives
2023-03-15 08:30:21 +00:00
f354a202ad
[*] i forgot to remove this member and we took a massive sizeof hit for it
2023-03-15 03:23:17 +00:00
f24a1c1924
[*] im not even going to switch to a cross arch to assume this isnt going to compile
...
(actually it looked even worse under compiler explorer. this patch is much better)
2023-03-15 03:12:10 +00:00
e88718a48b
[*] Windows 7 optimization [?]
2023-03-15 02:38:26 +00:00
2fc4564f5d
[*] Amend legacy primitive
2023-03-15 01:03:42 +00:00
13028d767b
[*] Cleanup optimization commit
2023-03-15 00:48:37 +00:00
046b70d7bc
[*] [Pre-Win8.1] Optimize for modern nt instead of windows vista synch in legacy path; yes, this is how windows 7 and vista synch is somewhat implemented.
...
...on apis that predate those kernel revisions. so, technically this might be able to run on xp.
[*] GetThreadCookie optimization for all platforms
2023-03-15 00:35:29 +00:00
14c7d538e1
[*] Fix up modern WakeOnAddress fast path, of, well, WakeOnAddress
...
[*] Clean up AuEvent
[*] Dropped default spin power
2023-03-13 23:57:32 +00:00
1ba0519d8d
[*] Amended UNIX yield paths
2023-03-12 20:59:03 +00:00
e82ec4a343
[+] IWaitable::LockNS(...)
...
[+] AuThreading.WakeAllOnAddress
[+] AuThreading.WakeOnAddress
[+] AuThreading.WakeNOnAddress
[+] AuThreading.TryWaitOnAddress
[+] AuThreading.WaitOnAddress
[*] Further optimize synch primitives
[+] AuThreadPrimitives::RWRenterableLock
2023-03-12 15:27:28 +00:00
88b0270435
[+] Broke out NT LoadLibrary
s to a dedicated root AuProcAddesses.[NT.]hpp
2023-02-16 16:01:21 +00:00
9d71b5c04f
[*] Found another race condition
2023-02-11 19:37:30 +00:00
7d46679969
[*] Fix RWLock regression in previous commit: ( 8ff81df1
)
...
...despite being under lock for lock paths, we now need everything to be atomic.
[*] ...fixed monotonic timeouts under rwlock
2023-01-30 16:48:40 +00:00
8ff81df129
[*] Fix deadlock involving WaitFor under ThreadPool (shutdown race)
...
[*] Optimize mutex lock out of RWLockImpl::TryLockWrite
[*] Force all relevant members of RWLockImpl to be volatile just bc lol (afaik we cant justify it yet; however, i want to minimalize the risk of future issues in this type)
2023-01-30 14:35:48 +00:00
51a2816f3f
[*] Merge GTK JS's branch fix for async shutdown
...
[+] IConditionMutex::TryLock()
... Timed is still too much of an ask for this interface, i think. There's a good reason as to why this isn't a iwaitable. This condvar interface must be as common and primitive as possible.
2023-01-30 13:26:17 +00:00
d780df6ceb
[*] Transition legacy pre-steady clock calls to steady time
...
[*] Improved e-core throttling logic under systems without ecores
2023-01-23 15:27:58 +00:00
fbca5f22c5
Regression in: d1451142
2022-12-29 21:02:58 +00:00
0cdbc34c06
[*] Optimize allocations out of RWLock
...
[*] Fix linux regression
2022-12-29 09:42:02 +00:00
d14511429a
[*] Optimize event primitive
2022-12-29 00:02:56 +00:00
2209aeb7a8
[+] Linux: semaphores and mutexes directly over futexes. Move UNIX pthread condvar mutex into the condvar mutex class.
...
[*] BSD: Rewrote fundamentally flawed pthread_mutex class code to use MONOTONIC clock time
[+] Linus SwInfo: Added enterprise check for RedHat
2022-12-28 23:44:45 +00:00
dbbcd14b57
[*] Optimize for Win8.1 scheduler that can bypass SRW CVs
...
[*] Update readme
2022-12-28 10:50:30 +00:00
766be57a46
[+] Linux build [again]
...
[+] ProcessSectionViewReserved.Unix.cpp
[*] Fix missing ::Flush() member on ViewWriter
2022-12-16 00:41:01 +00:00
cbad382b6a
[+] Windows 7 support
2022-12-14 01:35:18 +00:00
267c2216b0
[+] UDP over socket API via existing INetSrvDatagram layer
...
(...missing send)
[+] AuIO::Buffer::ViewReader
[+] AuIO::Buffer::ViewSeekableReadable
[+] AuIO::Buffer::ViewWriter
[*] Clean up AuCompression
[*[ AuLog messages must always crunch for memory
[*] Various bug fixes
[*] Refactor+clean up
2022-12-12 23:50:05 +00:00
7be2d3fbdc
[+] AuUtility::ThroughputCalculator
...
[+] AuNet::ISocketStats
[+] AuNet::ISocketChannel::GetRecvStats()
[+] AuNet::ISocketChannel::GetSendStats()
[+] AuIO::IOProcessor::RunTickEx(AuUInt32 dwTimeout)
[*] Refactor clock APIs
[+] Documentation in headers
[+] AuIO::IIOPipeWork::GetStartTickMS()
[+] AuIO::IIOPipeWork::GetLastTickMS()
[+] AuIO::IIOPipeWork::GetPredictedThroughput()
[+] AuIO::IIOPipeWork::GetBytesProcessed()
2022-12-06 22:58:15 +00:00
72dc0d715e
[*] Begin enforcing steady time
...
[+] IOProcessor::WakeupThread
[+] NT: Begin hacking in timeBeginPeriod (must spam it in some places)
[+] ConsoleTTY (more specifically the win32 calls) are too slow to run on the mainthread. Delegate to worker.
[*] AuTime.CurrentClockSteady
[*] AuTime.CurrentClockSteadyMS
[*] AuTime.CurrentClockSteadyNS
2022-11-28 16:01:08 +00:00
f86665fd36
[+] Net: TCP servers can now be multi-threaded
...
[+] Net: Added missing UDP send datagram
[*] IO bug fixes
2022-11-17 20:58:48 +00:00
898c0ced37
[*] Refactoring in progress...
2022-11-17 08:03:20 +00:00
673872f632
[*] Fix critical bug in rwlock (few commits ago. still havent updated submodules so its ok)
...
[*] IAsyncTransaction::uStartOffset should be u64
2022-11-09 00:33:14 +00:00
d63571e4b5
[+] AuCompression::CompressionInterceptor
...
[+] AuCrypto::CBC::CBCContext
[+] AuFS::ReadDirRecursive
[+] AuFS::DirDeleter
[+] AuCrypto::PBKDF2
[+] AuCrypto::AES::CBCEncrypt
[+] AuCrypto::AES::CBCDecrypt
[+] AuCrypto::TDES::CBCEncrypt
[+] AuCrypto::TDES::CBCDecrypt
[+] Optimize read write locks
[*] Added `ContextFlags = CONTEXT_ALL` to Win32 PlatformWalkCallStack
2022-11-06 13:23:22 +00:00