X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/9bccf70c0258c7cac2dcb80011b2a964d884c552..2a1bd2d3eef5c7a7bb14f4bb9fdbca9a96ee4752:/osfmk/man/lock_make_stable.html diff --git a/osfmk/man/lock_make_stable.html b/osfmk/man/lock_make_stable.html old mode 100755 new mode 100644 index 53a306df6..3170d7c65 --- a/osfmk/man/lock_make_stable.html +++ b/osfmk/man/lock_make_stable.html @@ -1 +1,55 @@ -

lock_make_stable


Function - Stabilize the state of the specified lock.

SYNOPSIS

kern_return_t   lock_make_stable
                (lock_set_t                            lock_set,
                 int                                    lock_id);

PARAMETERS

lock_set
[in send right] The port naming the lock set which represents the lock.

lock_id
[in scalar] The lock, represented by the lock set, to be stabilized.

DESCRIPTION

The lock_make_stable function clears the specified lock's unstable state, making the lock's state stable again.

RETURN VALUES

KERN_INVALID_ARGUMENT
The specified lock set is invalid, or the lock id is out of range.

KERN_INVALID_RIGHT
The caller does not own the specified lock.

KERN_SUCCESS
The lock's state was stabilized.

KERN_LOCK_SET_DESTROYED
The specified lock has been destroyed.

RELATED INFORMATION

Functions: lock_acquire, lock_release, lock_try, lock_handoff, lock_handoff_accept, lock_set_create, lock_set_destroy. \ No newline at end of file +

lock_make_stable

+
+

+Function - Stabilize the state of the specified lock. +

SYNOPSIS

+
+kern_return_t   lock_make_stable
+                (lock_set_t                            lock_set,
+                 int                                    lock_id);
+
+

PARAMETERS

+
+

+

lock_set +
+[in send right] The port naming the lock set which represents the +lock. +

+

lock_id +
+[in scalar] The lock, represented by the lock set, to be stabilized. +
+

DESCRIPTION

+

+The lock_make_stable function clears the specified lock's unstable +state, making the lock's state stable again. +

RETURN VALUES

+
+

+

KERN_INVALID_ARGUMENT +
+The specified lock set is invalid, or the lock id is out of range. +

+

KERN_INVALID_RIGHT +
+ The caller does not own the specified lock. +

+

KERN_SUCCESS +
+The lock's state was stabilized. +

+

KERN_LOCK_SET_DESTROYED +
+The specified lock has been destroyed. +
+

RELATED INFORMATION

+

+Functions: +lock_acquire, +lock_release, +lock_try, +lock_handoff, +lock_handoff_accept, +lock_set_create, +lock_set_destroy.