summaryrefslogtreecommitdiff
path: root/os/windows
diff options
context:
space:
mode:
authorTomohiro Kusumi <kusumi.tomohiro@gmail.com>2021-04-26 00:10:40 +0900
committerTomohiro Kusumi <kusumi.tomohiro@gmail.com>2021-04-26 00:15:07 +0900
commite9d2a04d1278ce02140a8b8da4d5aede7a6ad39d (patch)
tree1481fd25e4ae16e670851622fe1c1954ae3af138 /os/windows
parent14691a4df98b85621b07dd2bdc0f0a960acbb8ba (diff)
downloadfio-e9d2a04d1278ce02140a8b8da4d5aede7a6ad39d.tar.gz
fio-e9d2a04d1278ce02140a8b8da4d5aede7a6ad39d.tar.bz2
gettime: Fix compilation on non-Linux with pthread_getaffinity_np()
874d55e50c("os/os-linux: add pthread CPU affinity helper") and a few commits after that broke compilation on non-Linux platforms which support pthread_getaffinity_np(). Define fio_get_thread_affinity() on non-Linux platforms, and make gettime test FIO_HAVE_GET_THREAD_AFFINITY which may or may not depend on pthread. FIO_HAVE_GET_THREAD_AFFINITY is currently not defined on Windows. Signed-off-by: Tomohiro Kusumi <kusumi.tomohiro@gmail.com>
Diffstat (limited to 'os/windows')
0 files changed, 0 insertions, 0 deletions