gearmulator

Emulation of classic VA synths of the late 90s/2000s that are based on Motorola 56300 family DSPs
Log | Files | Refs | Submodules | README | LICENSE

commit 78d36213591a6b1ba0e4b3fbcf36cc5192d7440f
parent 9de2b5a18c2cd7fe8a886399c898ff9653329bd7
Author: dsp56300 <dsp56300@users.noreply.github.com>
Date:   Wed, 24 Jul 2024 23:47:44 +0200

add thread name

Diffstat:
Msource/nord/n2x/n2xTestConsole/n2xTestConsole.cpp | 13+++++++++++++
1 file changed, 13 insertions(+), 0 deletions(-)

diff --git a/source/nord/n2x/n2xTestConsole/n2xTestConsole.cpp b/source/nord/n2x/n2xTestConsole/n2xTestConsole.cpp @@ -1,5 +1,6 @@ #include <iostream> +#include "dsp56kEmu/threadtools.h" #include "n2xLib/n2xhardware.h" #include "n2xLib/n2xrom.h" #include "synthLib/wavWriter.h" @@ -24,8 +25,20 @@ int main() std::thread ucThread([&]() { + dsp56k::ThreadTools::setCurrentThreadName("MC68331"); + dsp56k::ThreadTools::setCurrentThreadPriority(dsp56k::ThreadPriority::Highest); + while(true) + { + hw->processUC(); + hw->processUC(); + hw->processUC(); hw->processUC(); + hw->processUC(); + hw->processUC(); + hw->processUC(); + hw->processUC(); + } }); constexpr uint32_t blockSize = 64;