mirror of
https://github.com/lutris/lutris
synced 2024-09-15 22:09:55 +00:00
Rename one of is_fsync_support
This commit is contained in:
parent
41c300fefd
commit
7ad9d26432
|
@ -55,7 +55,7 @@ import functools
|
|||
import os
|
||||
import subprocess
|
||||
|
||||
__all__ = ("is_fsync_supported",)
|
||||
__all__ = ("get_fsync_support",)
|
||||
|
||||
|
||||
# pylint: disable=invalid-name,too-few-public-methods
|
||||
|
@ -402,7 +402,7 @@ def is_futex_waitv_supported():
|
|||
|
||||
|
||||
@functools.lru_cache(None)
|
||||
def is_fsync_supported():
|
||||
def get_fsync_support():
|
||||
"""Checks whether the FUTEX_WAIT_MULTIPLE operation, the futex2
|
||||
syscalls, or the futex_waitv syscall is supported on this kernel.
|
||||
|
||||
|
|
|
@ -265,7 +265,7 @@ def is_esync_limit_set():
|
|||
|
||||
def is_fsync_supported():
|
||||
"""Checks if the running kernel has Valve's futex patch applied."""
|
||||
return fsync.is_fsync_supported()
|
||||
return fsync.get_fsync_support()
|
||||
|
||||
|
||||
def get_default_version():
|
||||
|
|
Loading…
Reference in a new issue