diff options
author | Kevin Wolf <kwolf@redhat.com> | 2019-10-24 16:26:57 +0200 |
---|---|---|
committer | Michael Roth <mdroth@linux.vnet.ibm.com> | 2019-10-30 11:34:26 -0500 |
commit | e9bb3d942e268a19e03fc5d404586d2ed1564282 (patch) | |
tree | 069b8c14a5c650fb5f0cc27054be56229d29f6f0 /Makefile.target | |
parent | 84f22c728520792f1010074e0d5ac2ec8e2e372c (diff) |
coroutine: Add qemu_co_mutex_assert_locked()
Some functions require that the caller holds a certain CoMutex for them
to operate correctly. Add a function so that they can assert the lock is
really held.
Cc: qemu-stable@nongnu.org
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Tested-by: Michael Weiser <michael.weiser@gmx.de>
Reviewed-by: Michael Weiser <michael.weiser@gmx.de>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Reviewed-by: Denis V. Lunev <den@openvz.org>
Reviewed-by: Max Reitz <mreitz@redhat.com>
(cherry picked from commit 944f3d5dd216fcd8cb007eddd4f82dced0a15b3d)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Diffstat (limited to 'Makefile.target')
0 files changed, 0 insertions, 0 deletions