Handle MacOS's libc
parent
04f88d8294
commit
5e61108795
|
@ -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…
Reference in New Issue