Function parking_lot::unpark_all [] [src]

pub unsafe fn unpark_all(key: usize) -> usize

Unparks all threads in the queue associated with the given key.

This function returns the number of threads that were unparked.

Safety

You should only call this function with an address that you control, since you could otherwise interfere with the operation of other synchronization primitives.