diff options
author | Gleb Popov <6yearold@gmail.com> | 2020-10-08 23:07:10 +0400 |
---|---|---|
committer | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2020-10-12 08:57:41 +0200 |
commit | b47a8eda6ecd2b508054a68b4879c769cce87363 (patch) | |
tree | 3f3d2bb165ded9ecd6c95a00c3e06e26ff45305f /bean/com | |
parent | 67edb62a88f331d93ba3aa0741bd4ef734d56062 (diff) |
Use `pthread_set_name_np` on FreeBSD 12.1 and below, as `pthread_setname_np` isn't available there.
While here, change the #ifdef check from __FreeBSD_kernel_ to __FreeBSD__, because pthreads API is userspace (read, belongs to libc).
Change-Id: I83e76b5502a6dfa1be5d3598eb1367f25815396e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104098
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'bean/com')
0 files changed, 0 insertions, 0 deletions