MCPcopy Create free account

hub / github.com/carllerche/syncbox / types & classes

Types & classes34 in github.com/carllerche/syncbox

↓ 8 callersClassDelay
src/delay_queue.rs:25
↓ 1 callersInterfaceDelayed
A value that should not be used until the delay has expired.
src/delay_queue.rs:9
ClassArrayQueue
A bounded, array-based queue, with compare-and-swap based operations.
src/array_queue.rs:60
InterfaceAtomic
An atomic box
src/atomic.rs:22
ClassAtomicI64
src/atomic.rs:185
ClassAtomicState
src/thread_pool.rs:657
ClassAtomicU64
src/atomic.rs:129
ClassAtomicVal
TODO: Move A -> ToAtomicRepr associated type (blocked rust-lang/rust#20772)
src/atomic.rs:55
InterfaceBoxedTask
src/thread_pool.rs:141
ClassCore
src/thread_pool.rs:548
ClassDelayQueue
An unbounded blocking queue of delayed values. When a value is pushed onto the queue, a delay is included. The value will only be able to be popped of
src/delay_queue.rs:58
ClassEntry
src/delay_queue.rs:213
ClassInner
src/delay_queue.rs:62
EnumLifecycle
src/thread_pool.rs:764
ClassLinkedQueue
A queue in which values are contained by a linked list. The current implementation is based on a mutex and two condition variables. It is also mostly
src/linked_queue.rs:12
EnumNeed
src/delay_queue.rs:159
ClassNode
src/array_queue.rs:37
ClassNode
src/linked_queue.rs:351
ClassNodePtr
src/linked_queue.rs:372
InterfaceQueue
An interface for queues of elements of type `T`.
src/queue.rs:6
ClassQueueInner
A variant of the "two lock queue" algorithm. The putLock gates entry to put (and offer), and has an associated condition for waiting puts. Similarly
src/linked_queue.rs:144
InterfaceRun
src/run.rs:2
EnumScheduled
src/thread_pool.rs:120
ClassScheduledThreadPool
A thread pool that can schedule tasks to run after a given delay, or to execute periodically. Delayed tasks do not run before their associated delays,
src/thread_pool.rs:83
ClassState
src/thread_pool.rs:716
ClassState
src/array_queue.rs:45
InterfaceSyncQueue
An interface for synchronous queues of elements of type `T`. This extends `Queue` with blocking analogs of `poll` and `offer`. Both `take` and `put`
src/queue.rs:28
InterfaceTask
A value that can run a unit of work.
src/run.rs:8
InterfaceTaskBox
src/run.rs:28
ClassThreadPool
src/thread_pool.rs:15
ClassThreadPoolInner
## Notes It's important that a worker increments the count before pulling from the queue and never touches the queue after decrementing the worker co
src/thread_pool.rs:161
InterfaceToAtomicRepr
A value that can be stored in an atomic box
src/atomic.rs:42
InterfaceWorkQueue
A queue that can be used to back a thread pool
src/thread_pool.rs:9
ClassWorker
src/thread_pool.rs:418