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

From: Mattias Engdegård <[email-masked]>
Date: Tue, 7 Jan 2020 17:46:49 +0100

7 jan. 2020 kl. 16.45 skrev Eli Zaretskii <[email-masked]>:

> This line cannot be deleted, as it will cause systhread.c fail to
> compile on MS-Windows.

Oops! Reinstated.

However, isn't thread_start_address inherently racy? It doesn't matter much since it will only ever have a single value (run_thread), but it does violate layering. That problem won't be addressed in this patch, however.

> And this comment on thread.h:

Edited.

Thanks for the review! Patch updated.