Dbg:Threading: use pthread_setname_np for debugging ease

This commit is contained in:
2025-11-06 15:04:04 -04:00
parent af57c4dfd1
commit c7e117b08e
3 changed files with 4 additions and 0 deletions
+2
View File
@@ -1,10 +1,12 @@
#include <iostream>
#include <pthread.h>
#include <componentThread.h>
#include <marionette/marionette.h>
int main(int argc, char *argv[], char *envp[])
{
pthread_setname_np(pthread_self(), "CRT:main");
/* We don't do anything inside of main()
* Main merely waits for the marionette thread to exit.
*/