Skip to content

Commit

Permalink
new thread names
Browse files Browse the repository at this point in the history
  • Loading branch information
joamag committed Oct 16, 2018
1 parent 214e1e6 commit ee7bc14
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/quorum/execution.py
Expand Up @@ -87,7 +87,7 @@ def __init__(self):
Constructor of the class.
"""

threading.Thread.__init__(self)
threading.Thread.__init__(self, name = "Execution")

self.daemon = True
self.work_list = []
Expand Down
2 changes: 1 addition & 1 deletion src/quorum/test/httpc.py
Expand Up @@ -206,7 +206,7 @@ def caller():
return caller

callable = generate(index)
thread = threading.Thread(target = callable)
thread = threading.Thread(target = callable, name = "TestMultithread")
thread.start()
threads.append(thread)

Expand Down

0 comments on commit ee7bc14

Please sign in to comment.