diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-01-23 05:13:02 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-01-23 05:13:02 +0000 |
commit | 15271403c57beb483fcaf04a68b463a058f72df6 (patch) | |
tree | 6347c85de16b24ed36ba0b812ac7cb3db42a20eb /src/os.h | |
parent | Releasing debian version 2.13.1-1. (diff) | |
download | dnsperf-15271403c57beb483fcaf04a68b463a058f72df6.tar.xz dnsperf-15271403c57beb483fcaf04a68b463a058f72df6.zip |
Merging upstream version 2.14.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/os.h')
-rw-r--r-- | src/os.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -1,5 +1,5 @@ /* - * Copyright 2019-2023 OARC, Inc. + * Copyright 2019-2024 OARC, Inc. * Copyright 2017-2018 Akamai Technologies * Copyright 2006-2016 Nominum, Inc. * All rights reserved. @@ -25,6 +25,7 @@ #include <inttypes.h> #include <stdbool.h> +#include <pthread.h> void perf_os_blocksignal(int sig, bool block); @@ -41,4 +42,6 @@ perf_result_t perf_os_waituntilanywritable(struct perf_net_socket** socks, unsigned int nfds, int pipe_fd, int64_t timeout); +void perf_os_thread_setname(pthread_t thread, const char* name); + #endif |