signal

open suspend override fun signal()

Moves the longest-waiting thread, if one exists, from the wait queue for this condition to the wait queue for the owning lock.

Throws

if .isHeldExclusively returns false