<!--
{
  "availability" : [
    "iOS: 16.0.0 -",
    "iPadOS: 16.0.0 -",
    "macCatalyst: -",
    "macOS: 13.0.0 -",
    "tvOS: 16.0.0 -",
    "visionOS: -",
    "watchOS: 9.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "os",
  "identifier" : "/documentation/os/OSAllocatedUnfairLock/Ownership",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "os"
    ],
    "preciseIdentifier" : "s:2os21OSAllocatedUnfairLockV9OwnershipO"
  },
  "title" : "OSAllocatedUnfairLock.Ownership"
}
-->

# OSAllocatedUnfairLock.Ownership

An enumeration that represents the ownership status of an unfair lock.

```
@frozen enum Ownership
```

## Topics

### Specifying ownership

[`case owner`](/documentation/os/OSAllocatedUnfairLock/Ownership/owner)

Describes code that owns the lock.

[`case notOwner`](/documentation/os/OSAllocatedUnfairLock/Ownership/notOwner)

Describes code that doesn’t own the lock.

## Relationships

### Conforms To

[`Sendable`](/documentation/Swift/Sendable)

[`BitwiseCopyable`](/documentation/Swift/BitwiseCopyable)

[`Hashable`](/documentation/Swift/Hashable)

[`Copyable`](/documentation/Swift/Copyable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Equatable`](/documentation/Swift/Equatable)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)