summaryrefslogtreecommitdiff
path: root/os/windows/posix/include/sys
diff options
context:
space:
mode:
authorHuadong Liu <HLiu@fusionio.com>2013-01-24 14:07:20 -0700
committerJens Axboe <axboe@kernel.dk>2013-01-24 14:07:20 -0700
commit7732a09b0a5331f20b7fdf42f811a3f2805dcaae (patch)
treedc947de7c59e6154775463c46358d377dc08f8d4 /os/windows/posix/include/sys
parent798827c895a585f284842f6b99378be19c821263 (diff)
downloadfio-7732a09b0a5331f20b7fdf42f811a3f2805dcaae.tar.gz
fio-7732a09b0a5331f20b7fdf42f811a3f2805dcaae.tar.bz2
Use RUSAGE_THREAD, if available
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'os/windows/posix/include/sys')
-rw-r--r--os/windows/posix/include/sys/resource.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/os/windows/posix/include/sys/resource.h b/os/windows/posix/include/sys/resource.h
index 837d6577..fd46b288 100644
--- a/os/windows/posix/include/sys/resource.h
+++ b/os/windows/posix/include/sys/resource.h
@@ -2,6 +2,7 @@
#define SYS_RESOURCE_H
#define RUSAGE_SELF 0
+#define RUSAGE_THREAD 1
struct rusage
{