]> git.eshelyaron.com Git - emacs.git/commit
Add thread-naming support for OpenBSD
authorTimo Myyrä <timo.myyra@bittivirhe.fi>
Sun, 28 Jun 2020 08:27:21 +0000 (10:27 +0200)
committerMattias Engdegård <mattiase@acm.org>
Sun, 28 Jun 2020 08:27:21 +0000 (10:27 +0200)
commite4028d15153a29966425d93be6374fae770d14a8
tree1cfd0e417a7999dfe35091fcace7088a90aedca7
parent5ce5cf643840cd6efd25d987bc5b6f12478c50a6
Add thread-naming support for OpenBSD

OpenBSD has pthread_set_name_np; FreeBSD appears to have both
this call and pthread_setname_np (the latter call is used in preference).

* configure.ac: Detect pthread_set_name_np.
* sys/systhread.c:
Include <pthread_np.h> and call pthread_set_name_np if available.
configure.ac
src/systhread.c