util/simple_mtx: add assert_locked()
authorRob Clark <robdclark@chromium.org>
Tue, 28 Apr 2020 19:39:32 +0000 (12:39 -0700)
committerMarge Bot <eric+marge@anholt.net>
Wed, 29 Apr 2020 20:37:00 +0000 (20:37 +0000)
commit8aacaeca685c4e705a3237c2187f2f9bcef23339
tree36e6f3a674f901d8db0c216052d10d7acb2ea6d5
parent3e1b93ec4fa31014c322b970f7d8a057fdec04fe
util/simple_mtx: add assert_locked()

Signed-off-by: Rob Clark <robdclark@chromium.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4810>
src/util/simple_mtx.h