Subject: bug#38632: 27.0.50; Emacs process name is changed permanently upon creating a named thread

From: Mattias Engdegård <[email-masked]>
Date: Mon, 6 Jan 2020 20:50:44 +0100

reopen 38632
stop

The committed patch fails to compile on macOS (10.14). Here, and probably BSD in general, pthread_setname_np takes a single argument (the name) and applies to the current thread.