aboutsummaryrefslogtreecommitdiff
path: root/src/platform/windows/win_impl.h
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2018-08-25 11:41:44 -0700
committerGarrett D'Amore <garrett@damore.org>2018-08-27 15:33:26 -0700
commit84a1e7455c158441dd7b33d2eb296cc33dd5a6df (patch)
tree333f17970a90643a40d3392e161e81e9903477f7 /src/platform/windows/win_impl.h
parent83b7a9afec7b3659974c614cea69fa3abb904d24 (diff)
downloadnng-84a1e7455c158441dd7b33d2eb296cc33dd5a6df.tar.gz
nng-84a1e7455c158441dd7b33d2eb296cc33dd5a6df.tar.bz2
nng-84a1e7455c158441dd7b33d2eb296cc33dd5a6df.zip
fixes #674 want 64-bit atomics (for stats)
Diffstat (limited to 'src/platform/windows/win_impl.h')
-rw-r--r--src/platform/windows/win_impl.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/platform/windows/win_impl.h b/src/platform/windows/win_impl.h
index 2cdff1c0..462e1707 100644
--- a/src/platform/windows/win_impl.h
+++ b/src/platform/windows/win_impl.h
@@ -52,6 +52,10 @@ struct nni_atomic_flag {
unsigned f;
};
+struct nni_atomic_u64 {
+ LONGLONG v;
+};
+
// nni_win_io is used with io completion ports. This allows us to get
// to a specific completion callback without requiring the poller (in the
// completion port) to know anything about the event itself.