diff options
Diffstat (limited to 'sandbox/src')
-rw-r--r-- | sandbox/src/broker_services.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sandbox/src/broker_services.cc b/sandbox/src/broker_services.cc index 8d83b2d..ab8bdd6 100644 --- a/sandbox/src/broker_services.cc +++ b/sandbox/src/broker_services.cc @@ -5,6 +5,7 @@ #include "sandbox/src/broker_services.h" #include "base/logging.h" +#include "base/platform_thread.h" #include "sandbox/src/sandbox_policy_base.h" #include "sandbox/src/sandbox.h" #include "sandbox/src/target_process.h" @@ -133,6 +134,8 @@ DWORD WINAPI BrokerServicesBase::TargetEventsThread(PVOID param) { if (NULL == param) return 1; + PlatformThread::SetName("BrokerEventThread"); + BrokerServicesBase* broker = reinterpret_cast<BrokerServicesBase*>(param); HANDLE port = broker->job_port_; HANDLE no_targets = broker->no_targets_; |