summary refs log tree commit diff stats
path: root/tests/test-string-input-visitor.c
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2013-01-25 16:43:38 +0100
committerStefan Hajnoczi <stefanha@redhat.com>2013-02-05 21:52:55 +0100
commite722d705ae7648a6bd94848319a11eb0afd58a17 (patch)
tree24caa47a310024e99a1cb7ace4f94b52eaface8f /tests/test-string-input-visitor.c
parentfb3a508531227bc7fb7eee22c51d30bf2ceb15f5 (diff)
downloadfocaccia-qemu-e722d705ae7648a6bd94848319a11eb0afd58a17.tar.gz
focaccia-qemu-e722d705ae7648a6bd94848319a11eb0afd58a17.zip
trace: Direct access of atomics is verboten, use the API
The GLib Reference Manual says:

    It is very important that all accesses to a particular integer or
    pointer be performed using only this API and that different sizes
    of operation are not mixed or used on overlapping memory
    regions. Never read or assign directly from or to a value --
    always use this API.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Harsh Prateek Bora <harsh@linux.vnet.ibm.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'tests/test-string-input-visitor.c')
0 files changed, 0 insertions, 0 deletions