assert_locked

@accepts(GLib.Mutex)
@returns(none)
def assert_locked(mutex)

Asserts that @mutex is currently locked. Does not work with all mutex implementations.

mutex :

a GMutex