Contents

wait()

Blocks the current thread until the condition is signaled.

Declaration

func wait()

Discussion

You must lock the receiver prior to calling this method.

See Also

Related Documentation

  • Threading Programming Guide
  • lock()

Waiting for the Lock