diff options
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 |