Handle MacOS's libc

develop
knotteye 3 years ago
parent 04f88d8294
commit 5e61108795
  1. 2
      monkeypatch.py

@ -29,6 +29,8 @@ if libc_path == 'libc.so.6':
sleep = posixsleep
elif libc_path == 'kernel32':
sleep = ntsleep
elif libc_path == "libSystem.dylib":
sleep = posixsleep
else:
print("Couldn't figure out how to use native sleep calls with "+str(libc_path)+", event loop performance may suffer.")
sleep = time.sleep
Loading…
Cancel
Save