diff options
author | Timo Myyrä <timo.myyra@bittivirhe.fi> | 2020-06-28 10:27:21 +0200 |
---|---|---|
committer | Mattias Engdegård <mattiase@acm.org> | 2020-06-28 10:27:21 +0200 |
commit | e4028d15153a29966425d93be6374fae770d14a8 (patch) | |
tree | 1cfd0e417a7999dfe35091fcace7088a90aedca7 /lib/getrandom.c | |
parent | 5ce5cf643840cd6efd25d987bc5b6f12478c50a6 (diff) | |
download | emacs-e4028d15153a29966425d93be6374fae770d14a8.tar.gz emacs-e4028d15153a29966425d93be6374fae770d14a8.tar.bz2 emacs-e4028d15153a29966425d93be6374fae770d14a8.zip |
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.
Diffstat (limited to 'lib/getrandom.c')
0 files changed, 0 insertions, 0 deletions