You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 line
1.3 KiB
1 line
1.3 KiB
5 years ago
|
initSidebarItems({"constant":[["DEFAULT_PARK_TOKEN","A default park token to use."],["DEFAULT_UNPARK_TOKEN","A default unpark token to use."]],"enum":[["FilterOp","Operation that `unpark_filter` should perform for each thread."],["ParkResult","Result of a park operation."],["RequeueOp","Operation that `unpark_requeue` should perform."]],"fn":[["park","Parks the current thread in the queue associated with the given key."],["unpark_all","Unparks all threads in the queue associated with the given key."],["unpark_filter","Unparks a number of threads from the front of the queue associated with `key` depending on the results of a filter function which inspects the `ParkToken` associated with each thread."],["unpark_one","Unparks one thread from the queue associated with the given key."],["unpark_requeue","Removes all threads from the queue associated with `key_from`, optionally unparks the first one and requeues the rest onto the queue associated with `key_to`."]],"mod":[["deadlock","[Experimental] Deadlock detection"]],"struct":[["ParkToken","A value associated with a parked thread which can be used by `unpark_filter`."],["SpinWait","A counter used to perform exponential backoff in spin loops."],["UnparkResult","Result of an unpark operation."],["UnparkToken","A value which is passed from an unparker to a parked thread."]]});
|