1
0
Mirror von https://github.com/tkuschel/bees.git synchronisiert 2026-05-08 04:59:37 +02:00

task: increase saved thread name length to 64

24 bytes seems a little low.  64 is a rounder (and more square) number.

Signed-off-by: Zygo Blaxell <bees@furryterror.org>
Dieser Commit ist enthalten in:
Zygo Blaxell
2022-11-19 02:45:18 -05:00
Ursprung cdef59e2f3
Commit 2aafa802a9
+1 -1
Datei anzeigen
@@ -300,7 +300,7 @@ namespace crucible {
swap(this_task, tl_current_task);
lock.unlock();
char buf[24] = { 0 };
char buf[64] = { 0 };
DIE_IF_MINUS_ERRNO(pthread_getname_np(pthread_self(), buf, sizeof(buf)));
DIE_IF_MINUS_ERRNO(pthread_setname_np(pthread_self(), m_title.c_str()));