Index: build/android/pylib/utils/timeout_retry.py |
diff --git a/build/android/pylib/utils/timeout_retry.py b/build/android/pylib/utils/timeout_retry.py |
index bae8b16cf7ffd5b16b32e849ffb1af26bf290ead..e6523f9637c55467ef9df389261042da438337c4 100644 |
--- a/build/android/pylib/utils/timeout_retry.py |
+++ b/build/android/pylib/utils/timeout_retry.py |
@@ -42,7 +42,8 @@ def Run(func, timeout, retries, args=None, kwargs=None): |
while True: |
try: |
- name = 'TimeoutThread-for-%s' % threading.current_thread().name |
+ name = 'TimeoutThread-%d-for-%s' % (retries, |
jbudorick
2014/10/24 17:30:52
Good idea.
|
+ threading.current_thread().name) |
thread_group = reraiser_thread.ReraiserThreadGroup( |
[TimeoutRetryThread(RunOnTimeoutThread, name=name)]) |
thread_group.StartAll() |