File 7062-erts-Remove-naming-of-main-thread.patch of Package erlang

From e17c3ac7505428de5524e6b30bf0ba94d3c81842 Mon Sep 17 00:00:00 2001
From: Rickard Green <rickard@erlang.org>
Date: Thu, 13 Apr 2023 17:33:30 +0200
Subject: [PATCH] [erts] Remove naming of main thread

since it propagates to ps, pgrep, etc.
---
 erts/emulator/sys/unix/sys.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/erts/emulator/sys/unix/sys.c b/erts/emulator/sys/unix/sys.c
index 8ae82bdcf7..210d7a5543 100644
--- a/erts/emulator/sys/unix/sys.c
+++ b/erts/emulator/sys/unix/sys.c
@@ -1114,7 +1114,6 @@ erts_sys_main_thread(void)
     erts_lc_set_thread_name("main");
 #endif
 #endif
-    erts_thr_setname("erts_main");
     smp_sig_notify(0); /* Notify initialized */
 
     /* Wait for a signal to arrive... */
-- 
2.35.3

openSUSE Build Service is sponsored by