summaryrefslogtreecommitdiff
path: root/Utilities/cmlibuv/include/uv.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-09-06 15:01:17 -0400
committerBrad King <brad.king@kitware.com>2018-03-05 09:21:31 -0500
commit43d6e5a71f7cb68578c72ece1cb5046b929ebdc0 (patch)
treeb1acae6cc6ace67cecab3aa1ae4a407070a01140 /Utilities/cmlibuv/include/uv.h
parent49e777aeb1dbb141383faf1e5cb20c7443952302 (diff)
downloadcmake-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.h1
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);