From 3c6e1b473043d00522c448ace074d64b00011202 Mon Sep 17 00:00:00 2001 From: "deanm@chromium.org" Date: Tue, 4 Nov 2008 08:00:40 +0000 Subject: Set the thread name for the sandbox event thread. Review URL: http://codereview.chromium.org/9263 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4581 0039d316-1c4b-4281-b951-d872f2087c98 --- sandbox/src/broker_services.cc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sandbox/src') 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(param); HANDLE port = broker->job_port_; HANDLE no_targets = broker->no_targets_; -- cgit v1.1