-
-
Notifications
You must be signed in to change notification settings - Fork 130
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
introducing very efficient TOSLightLock
- calls the Slim Reader/Writer (SRW) Win32 API in exclusive mode or directly the pthreads library in non-recursive/fast mode on Linux - on XP, where SRW are not available, fallback to a TLightLock - on non-Linux POSIX, fallback to regular cthreads/TRTLCriticalSection - same signature as TOSLock/TLightLock, usable as compile time alternatives - numbers make it a better alternative to TLightLock, when some contention occurs (e.g. our async server gives 15% better RPS on Linux)
- Loading branch information
Arnaud Bouchez
committed
Dec 16, 2022
1 parent
b1b8f5c
commit 6ff9191
Showing
4 changed files
with
195 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
'2.0.4458' | ||
'2.0.4459' |