diff options
author | Peter Xu <peterx@redhat.com> | 2018-03-09 16:59:55 +0800 |
---|---|---|
committer | Eric Blake <eblake@redhat.com> | 2018-03-19 14:58:37 -0500 |
commit | df152fb950e3e00d0186cbdc412dc8ddcc618621 (patch) | |
tree | c57d0301cf69e0d82dc34581ebc8864b3a4727e1 /trace-events | |
parent | 546aa56674305a4ab45bea4f36956651fd892b04 (diff) |
monitor: let suspend_cnt be thread safe
Monitor code now can be run in more than one thread. Let it be thread
safe when accessing suspend_cnt counter.
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Peter Xu <peterx@redhat.com>
Message-Id: <20180309090006.10018-13-peterx@redhat.com>
Signed-off-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'trace-events')
0 files changed, 0 insertions, 0 deletions