Contents

NSLocking

The elementary methods adopted by classes that define lock objects.

Declaration

protocol NSLocking

Overview

A lock object is used to coordinate the actions of multiple threads of execution within a single application. By using a lock object, an application can protect critical sections of code from being executed simultaneously by separate threads, thus protecting shared data and other shared resources from corruption.

Topics

Working with Locks

Instance Methods

See Also

Threads and Locking