fn lock(rwl: *SingleThreadedRwLock) void
Blocks until exclusive lock ownership is acquired.
rwl: *SingleThreadedRwLock,