10 commits landed upstream
This edition has not been reviewed yet: the entries below are classified automatically from commit messages and diffs, without an editorial pass. Treat the categories as hints and follow the commit links for the truth.
Categories
Fixes
5core: fixed TIcuLibrary locking code
core: fixed API-MS-Win-Core-Synch-l1-2-0.dll loading
core: fixed TOSLightLock usage comments in code
net: fixed potential out of range in TAsyncConnections.ThreadPollingWakeupLocked;
Compiler & platform
2core: TOSLightLock now uses WaitOnAddress/WakeByAddressSingle on Win8+
What changed
- instead of the SRW lock which purpose is not this - very high CAS fast path - just like TLIghtLock - use of Windows 32-bit futex API only on contention - the very same logic used on Linux did work directly!
core: TOsLightLock uses a futex on Linux
What changed
- is as fast as TLightLock on its fast CAS path - using a futex syscall is a perfect match in comparison with SpinAndWait/SwitchToThread - fallback to TLightLock logic on very old kernel (from 20 years ago) - validated against our TFB sample to give the best RPS with good stability - it makes Linus happy - but any feedback is welcome!