pub struct UnparkResult {
pub unparked_threads: usize,
pub have_more_threads: bool,
pub be_fair: bool,
}
Result of an unpark operation.
The number of threads that were unparked.
Whether there are any threads remaining in the queue. This only returns
true if a thread was unparked.
This is set to true on average once every 0.5ms for any given key. It
should be used to switch to a fair unlocking mechanism for a particular
unlock.
Performs copy-assignment from source
. Read more
This method tests for self
and other
values to be equal, and is used by ==
. Read more
This method tests for !=
.
Formats the value using the given formatter. Read more