diff options
author | midipix <writeonce@midipix.org> | 2016-08-12 08:49:37 -0400 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-08-12 09:41:49 -0400 |
commit | 563a1e17dcddd5b622d07d431a36e74b241993e1 (patch) | |
tree | 70d23a9728fe704d622041cb08d7bb151da4d112 /include | |
parent | 10e33da88f05b6808532713b0317669a0fdf549a (diff) | |
download | ntapi-563a1e17dcddd5b622d07d431a36e74b241993e1.tar.bz2 ntapi-563a1e17dcddd5b622d07d431a36e74b241993e1.tar.xz |
synchronization block: make all value assignments atomic.
Diffstat (limited to 'include')
-rw-r--r-- | include/ntapi/nt_sync.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ntapi/nt_sync.h b/include/ntapi/nt_sync.h index 5b28833..99508dd 100644 --- a/include/ntapi/nt_sync.h +++ b/include/ntapi/nt_sync.h @@ -122,7 +122,7 @@ typedef struct _nt_io_completion_basic_information { typedef union __attr_aligned__(NT_SYNC_BLOCK_SIZE) _nt_sync_block { - char cache_line[NT_SYNC_BLOCK_SIZE]; + intptr_t cache_line[NT_SYNC_BLOCK_SIZE/sizeof(intptr_t)]; struct { int32_t tid; int32_t pid; |