[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: |
Eli Zaretskii |
Subject: |
bug#38632: 27.0.50; Emacs process name is changed permanently upon creating a named thread |
Date: |
Tue, 17 Dec 2019 22:05:52 +0200 |
> From: Ihor Radchenko <yantar92@gmail.com>
> Date: Mon, 16 Dec 2019 14:42:38 +0800
>
> When I try to create a named thread like
>
> (make-thread (lambda () (+ 1 2)) "test-emacs-async")
>
> the emacs process gets renamed to "test-emacs-async" even after the
> thread returns. Making another thread with different name renames emacs
> process again.
I think, instead of calling prctl in systhread.c, we should call
pthread_set_name_np, and the configure-time test for prctl should be
replaced with a test for pthread_set_name_np.
Patches welcome.
- bug#38632: 27.0.50; Emacs process name is changed permanently upon creating a named thread, Ihor Radchenko, 2019/12/16
- bug#38632: 27.0.50; Emacs process name is changed permanently upon creating a named thread,
Eli Zaretskii <=
- bug#38632: 27.0.50; Emacs process name is changed permanently upon creating a named thread, Robert Pluim, 2019/12/18
- bug#38632: 27.0.50; Emacs process name is changed permanently upon creating a named thread, Eli Zaretskii, 2019/12/18
- bug#38632: 27.0.50; Emacs process name is changed permanently upon creating a named thread, Robert Pluim, 2019/12/18
- bug#38632: 27.0.50; Emacs process name is changed permanently upon creating a named thread, Eli Zaretskii, 2019/12/18
- bug#38632: 27.0.50; Emacs process name is changed permanently upon creating a named thread, Robert Pluim, 2019/12/18
- bug#38632: 27.0.50; Emacs process name is changed permanently upon creating a named thread, Eli Zaretskii, 2019/12/19
- bug#38632: 27.0.50; Emacs process name is changed permanently upon creating a named thread, Robert Pluim, 2019/12/19
- bug#38632: 27.0.50; Emacs process name is changed permanently upon creating a named thread, Eli Zaretskii, 2019/12/19
- bug#38632: 27.0.50; Emacs process name is changed permanently upon creating a named thread, Eli Zaretskii, 2019/12/20