---
title: lock_set_destroy
framework: Kernel
role: symbol
role_heading: Function
platforms: [macOS 10.0+]
path: kernel/1537941-lock_set_destroy
---

# lock_set_destroy

## Declaration

```occ
kern_return_t lock_set_destroy(task_t task, lock_set_t lock_set);
```
