Function - Release ownership of a lock.
kern_return_t lock_release
(lock_set_t lock_set,
int lock_id);
The lock_release function release the ownership of the specified lock. If the calling thread does not own the lock then the call will fail.
Functions: lock_acquire, lock_make_stable, lock_try, lock_handoff, lock_handoff_accept, lock_set_create, lock_set_destroy.