(core) Add api to set/get thread name and use it in worker related classes
Description
Applications often use a lot of threads. To ease debugging, it is possible to assign a name to each thread. This can be extremely helpful for debugging multi-threaded applications, as it allows you to identify threads more easily in debuggers and logs.
Functional specifications
We should see worker name in the Visual Studio/VSCode debugger.
Technical specifications
- Add api to get and set thread name.
- Use the get/set thread name api where it is possible in sight (see worker related classes).
- Add unit tests in sight\libs__\core\test\api\thread\worker_test.cpp.
Test plan
Execute core_ut unit tests.