vbox: use emt thread names

- eases debugging on smp setups

Issue #2110
This commit is contained in:
Alexander Boettcher
2016-09-23 10:10:01 +02:00
committed by Christian Helmuth
parent 14ef7a5312
commit a8495a0dfe
14 changed files with 35 additions and 27 deletions

View File

@@ -71,9 +71,10 @@ class Vmm::Vcpu_dispatcher : public T
Vcpu_dispatcher(Genode::size_t stack_size, Pd_session &pd,
Cpu_session * cpu_session,
Genode::Affinity::Location location)
Genode::Affinity::Location location,
const char * name = "vCPU dispatcher")
:
T(WEIGHT, "vCPU dispatcher", stack_size, location), _pd(pd)
T(WEIGHT, name, stack_size, location), _pd(pd)
{
using namespace Genode;
@@ -87,8 +88,9 @@ class Vmm::Vcpu_dispatcher : public T
Vcpu_dispatcher(Genode::size_t stack_size, Pd_session &pd,
Cpu_session * cpu_session,
Genode::Affinity::Location location,
X attr, void *(*start_routine) (void *), void *arg)
: T(attr, start_routine, arg, stack_size, "vCPU dispatcher", nullptr, location),
X attr, void *(*start_routine) (void *), void *arg,
const char * name = "vCPU dispatcher")
: T(attr, start_routine, arg, stack_size, name, nullptr, location),
_pd(pd)
{
using namespace Genode;