bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#38632: 27.0.50; Emacs process name is changed permanently upon creat


From: Mattias Engdegård
Subject: bug#38632: 27.0.50; Emacs process name is changed permanently upon creating a named thread
Date: Tue, 7 Jan 2020 17:46:49 +0100

7 jan. 2020 kl. 16.45 skrev Eli Zaretskii <address@hidden>:

> 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.

Attachment: 0001-Fix-BSD-and-macOS-builds-w.r.t.-pthread_setname_np-b.patch
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]