Thread names.
This commit is contained in:
parent
3e61cc95cd
commit
76c41edfd6
|
@ -62,8 +62,8 @@ X_STATUS AudioSystem::Setup() {
|
|||
}
|
||||
|
||||
void AudioSystem::ThreadStart() {
|
||||
poly::threading::set_name("AudioSystemThread");
|
||||
xe::Profiler::ThreadEnter("AudioSystemThread");
|
||||
poly::threading::set_name("Audio Worker");
|
||||
xe::Profiler::ThreadEnter("Audio Worker");
|
||||
|
||||
// Initialize driver and ringbuffer.
|
||||
Initialize();
|
||||
|
|
|
@ -33,6 +33,7 @@ enum class PrimitiveType : uint32_t {
|
|||
kRectangleList = 0x08,
|
||||
kLineLoop = 0x0C,
|
||||
kQuadList = 0x0D,
|
||||
kQuadStrip = 0x0E,
|
||||
};
|
||||
|
||||
enum class Dimension : uint32_t {
|
||||
|
|
|
@ -25,6 +25,9 @@ void MainWindow::Start() {
|
|||
poly::threading::Fence fence;
|
||||
|
||||
loop_.Post([&]() {
|
||||
poly::threading::set_name("Win32 Loop");
|
||||
xe::Profiler::ThreadEnter("Win32 Loop");
|
||||
|
||||
if (!Initialize()) {
|
||||
PFATAL("Failed to initialize main window");
|
||||
exit(1);
|
||||
|
|
Loading…
Reference in New Issue