Name various threads to ease debugging
This commit is contained in:
parent
5428763559
commit
e4b07d2f4d
|
@ -1414,7 +1414,7 @@ GPUEngineBase::GPUEngineBase()
|
|||
if (CommonSettings.num_cores > 1)
|
||||
{
|
||||
_asyncClearTask = new Task;
|
||||
_asyncClearTask->start(false);
|
||||
_asyncClearTask->start(false, 0, "async clear");
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -8717,7 +8717,7 @@ GPUSubsystem::GPUSubsystem()
|
|||
if (CommonSettings.num_cores > 1)
|
||||
{
|
||||
_asyncEngineBufferSetupTask = new Task;
|
||||
_asyncEngineBufferSetupTask->start(false);
|
||||
_asyncEngineBufferSetupTask->start(false, 0, "setup gpu bufs");
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
@ -188,7 +188,9 @@ void VideoFilter::__InstanceInit(size_t srcWidth, size_t srcHeight, VideoFilterT
|
|||
__vfThread[i].param.filterFunction = NULL;
|
||||
|
||||
__vfThread[i].task = new Task;
|
||||
__vfThread[i].task->start(false);
|
||||
char name[16];
|
||||
snprintf(name, 16, "video filter %d", i);
|
||||
__vfThread[i].task->start(false, 0, name);
|
||||
}
|
||||
|
||||
__vfFunc = _vfAttributes.filterFunction;
|
||||
|
|
|
@ -1802,7 +1802,9 @@ SoftRasterizerRenderer::SoftRasterizerRenderer()
|
|||
// to help stabilize performance when running SoftRasterizer.
|
||||
_task[i].start(false, 43);
|
||||
#else
|
||||
_task[i].start(false);
|
||||
char name[16];
|
||||
snprintf(name, 16, "rasterizer %d", i);
|
||||
_task[i].start(false, 0, name);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
|
|
@ -3398,7 +3398,7 @@ bool AdhocCommInterface::Start(WifiHandler* currentWifiHandler)
|
|||
#ifdef DESMUME_COCOA
|
||||
this->_rxTask->start(false, 43);
|
||||
#else
|
||||
this->_rxTask->start(false);
|
||||
this->_rxTask->start(false, 0, "wifi ad-hoc");
|
||||
#endif
|
||||
this->_isRXThreadRunning = true;
|
||||
this->_rxTask->execute(&Adhoc_RXPacketGetOnThread, this);
|
||||
|
@ -3672,7 +3672,7 @@ bool SoftAPCommInterface::Start(WifiHandler* currentWifiHandler)
|
|||
#ifdef DESMUME_COCOA
|
||||
this->_rxTask->start(false, 43);
|
||||
#else
|
||||
this->_rxTask->start(false);
|
||||
this->_rxTask->start(false, 0, "wifi ap");
|
||||
#endif
|
||||
this->_isRXThreadRunning = true;
|
||||
this->_rxTask->execute(&Infrastructure_RXPacketGetOnThread, this);
|
||||
|
|
Loading…
Reference in New Issue