9 Jan
2026
9 Jan
'26
12:49 p.m.
On 1/8/26 18:03, Daniel P. Berrangé wrote:
+static __thread char namebuf[PTHREAD_MAX_NAMELEN_NP];
... you can instead of the previous patch, add a constructor here that just sets namebuf to "main" with strcpy. For Windows on the other hand it should be okay to call SetThreadDescription if available. Paolo