Commit 6175e91
Add option to use futex APIs for
During the discussion of [1] it has been suggested that the congestion
could be reduced by relying on C++20 futex APIs. Additionally we
incorporated the `try_lock()` design from [2].
[1]: #146
[2]: https://rigtorp.se/spinlock/
Co-authored-by: Milian Wolff <[email protected]>spinlock
1 parent 735a74b commit 6175e91
3 files changed
+44
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
20 | 24 | | |
21 | 25 | | |
22 | 26 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
819 | 819 | | |
820 | 820 | | |
821 | 821 | | |
822 | | - | |
| 822 | + | |
| 823 | + | |
| 824 | + | |
| 825 | + | |
| 826 | + | |
| 827 | + | |
| 828 | + | |
| 829 | + | |
| 830 | + | |
| 831 | + | |
| 832 | + | |
823 | 833 | | |
824 | 834 | | |
825 | | - | |
| 835 | + | |
| 836 | + | |
| 837 | + | |
| 838 | + | |
| 839 | + | |
826 | 840 | | |
| 841 | + | |
| 842 | + | |
827 | 843 | | |
| 844 | + | |
828 | 845 | | |
829 | 846 | | |
830 | 847 | | |
| |||
834 | 851 | | |
835 | 852 | | |
836 | 853 | | |
837 | | - | |
838 | | - | |
| 854 | + | |
| 855 | + | |
| 856 | + | |
| 857 | + | |
| 858 | + | |
| 859 | + | |
| 860 | + | |
839 | 861 | | |
840 | 862 | | |
841 | | - | |
| 863 | + | |
| 864 | + | |
| 865 | + | |
| 866 | + | |
| 867 | + | |
| 868 | + | |
842 | 869 | | |
843 | 870 | | |
| 871 | + | |
| 872 | + | |
| 873 | + | |
| 874 | + | |
| 875 | + | |
| 876 | + | |
844 | 877 | | |
| 878 | + | |
845 | 879 | | |
846 | 880 | | |
847 | 881 | | |
| |||
0 commit comments