major improvement of HashDB speed in multi-threaded mode

This commit is contained in:
Miroslav Stampar
2011-11-22 10:09:35 +00:00
parent e94efff187
commit b117c40aa5
3 changed files with 29 additions and 0 deletions

View File

@@ -65,6 +65,13 @@ def getCurrentThreadData():
return ThreadData
def getCurrentThreadName():
"""
Returns current's thread name
"""
return threading.current_thread().getName()
def exceptionHandledFunction(threadFunction):
try:
threadFunction()