update monotonic 1.3 5c0322dc559bf961f7e111d97cd3ed9ab5c1a73b
https://github.com/eventlet/eventlet/issues/403
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
set -eux
|
||||
cd "$( dirname "${BASH_SOURCE[0]}" )/.."
|
||||
version=${1-"8447153178046158fe10d927cd358e0088587bca"}
|
||||
version=${1-"5c0322dc559bf961f7e111d97cd3ed9ab5c1a73b"}
|
||||
path="./eventlet/support/monotonic.py"
|
||||
url="https://raw.githubusercontent.com/atdt/monotonic/${version}/monotonic.py"
|
||||
rm -f ${path}
|
||||
|
@@ -150,6 +150,8 @@ except AttributeError:
|
||||
CLOCK_MONOTONIC = 4
|
||||
elif 'bsd' in sys.platform:
|
||||
CLOCK_MONOTONIC = 3
|
||||
elif sys.platform.startswith('aix'):
|
||||
CLOCK_MONOTONIC = ctypes.c_longlong(10)
|
||||
|
||||
def monotonic():
|
||||
"""Monotonic clock, cannot go backward."""
|
||||
|
Reference in New Issue
Block a user