diff options
author | Brad King <brad.king@kitware.com> | 2017-09-06 15:01:17 -0400 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2018-03-05 09:21:31 -0500 |
commit | 43d6e5a71f7cb68578c72ece1cb5046b929ebdc0 (patch) | |
tree | b1acae6cc6ace67cecab3aa1ae4a407070a01140 /Utilities/cmlibuv/include/uv.h | |
parent | 49e777aeb1dbb141383faf1e5cb20c7443952302 (diff) | |
download | cmake-43d6e5a71f7cb68578c72ece1cb5046b929ebdc0.tar.gz |
libuv: misc: add function to get CPU affinity mask size
Implement it on Linux, FreeBSD, and Windows for now, and return
UV_ENOTSUP on other platforms.
Backported from upstream libuv PR 1527, scheduled for inclusion
in libuv 2.0.
Diffstat (limited to 'Utilities/cmlibuv/include/uv.h')
-rw-r--r-- | Utilities/cmlibuv/include/uv.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Utilities/cmlibuv/include/uv.h b/Utilities/cmlibuv/include/uv.h index 328ce9ebb7..a2ba487391 100644 --- a/Utilities/cmlibuv/include/uv.h +++ b/Utilities/cmlibuv/include/uv.h @@ -1094,6 +1094,7 @@ UV_EXTERN uv_pid_t uv_os_getppid(void); UV_EXTERN int uv_cpu_info(uv_cpu_info_t** cpu_infos, int* count); UV_EXTERN void uv_free_cpu_info(uv_cpu_info_t* cpu_infos, int count); +UV_EXTERN int uv_cpumask_size(void); UV_EXTERN int uv_interface_addresses(uv_interface_address_t** addresses, int* count); |