summary refs log tree commit diff stats
path: root/util/oslib-posix.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2016-07-15 20:58:41 +0300
committerPaolo Bonzini <pbonzini@redhat.com>2016-08-02 12:03:58 +0200
commit34506b30e4210b417aa38d1518aa2c53fb7cf39b (patch)
treeeb3653db2474e880a5735baebe8c83a6d395f572 /util/oslib-posix.c
parentcc0100f464c94bf80ad36cd432f4a1ed58126b60 (diff)
downloadfocaccia-qemu-34506b30e4210b417aa38d1518aa2c53fb7cf39b.tar.gz
focaccia-qemu-34506b30e4210b417aa38d1518aa2c53fb7cf39b.zip
util/qht: Document memory ordering assumptions
It is naturally expected that some memory ordering should be provided
around qht_insert() and qht_lookup(). Document these assumptions in the
header file and put some comments in the source to denote how that
memory ordering requirements are fulfilled.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
[Sergey Fedorov: commit title and message provided;
comment on qht_remove() elided]
Signed-off-by: Sergey Fedorov <serge.fdrv@gmail.com>
Message-Id: <20160715175852.30749-2-sergey.fedorov@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'util/oslib-posix.c')
0 files changed, 0 insertions, 0 deletions