Add a name to the ProcessThread constructor.

Helps differentiate between different instances when debugging.

Review URL: https://codereview.webrtc.org/1337003003

Cr-Commit-Position: refs/heads/master@{#9927}
This commit is contained in:
stefan
2015-09-11 09:52:15 -07:00
committed by Commit bot
parent c32d2db69b
commit 847855b865
10 changed files with 37 additions and 32 deletions

View File

@ -29,7 +29,7 @@ class ProcessThread {
public:
virtual ~ProcessThread();
static rtc::scoped_ptr<ProcessThread> Create();
static rtc::scoped_ptr<ProcessThread> Create(const char* thread_name);
// Starts the worker thread. Must be called from the construction thread.
virtual void Start() = 0;