Skip to main content

Module threading

Module threading 

Source

Structs§

CompressedFileChunk
CompressionThreadResult
Owned
SendAlloc
StdThreadScope
ThreadScope backed by std::thread::scope: one OS thread per chunk, no pool.

Enums§

BrotliEncoderThreadError
InternalOwned
InternalSendAlloc

Traits§

AnyBoxConstructor
BatchSpawnable
BatchSpawnableLite
Joinable
OwnedRetriever
ScopeBody
The work ThreadScope::scope runs inside the scope it opens.
ScopedSpawner
Handle to a live thread scope: what CompressMultiScoped uses to hand a chunk of work to another thread.
ThreadScope
Bridges CompressMultiScoped to a scoped-thread API such as std::thread::scope or rayon::scope, so that neither has to be a dependency of this crate.

Functions§

CompressMulti
CompressMultiScoped
Compresses input in alloc_per_thread.len() catable chunks inside a caller-provided thread scope, concatenating them into output and returning the compressed size.
CompressMultiSlice

Type Aliases§

LowLevelThreadError
PoisonedThreadError