mirror of
https://github.com/markqvist/Reticulum.git
synced 2025-07-30 01:58:48 -04:00
Epoll backend switch
This commit is contained in:
parent
6dc33126a5
commit
13b4291840
4 changed files with 11 additions and 4 deletions
4
RNS/vendor/platformutils.py
vendored
4
RNS/vendor/platformutils.py
vendored
|
@ -32,6 +32,10 @@ def is_windows():
|
|||
else:
|
||||
return False
|
||||
|
||||
def use_epoll():
|
||||
if is_linux(): return True
|
||||
else: return False
|
||||
|
||||
def platform_checks():
|
||||
if is_windows():
|
||||
import sys
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue