Struct scoped_pool::ThreadConfig [] [src]

pub struct ThreadConfig { /* fields omitted */ }

Thread configuration. Provides detailed control over the properties and behavior of new threads.

Methods

impl ThreadConfig
[src]

Generates the base configuration for spawning a thread, from which configuration methods can be chained.

Name prefix of spawned threads. Thread number will be appended to this prefix to form each thread's unique name. Currently the name is used for identification only in panic messages.

Sets the size of the stack for the new thread.

Trait Implementations

impl Default for ThreadConfig
[src]

Returns the "default value" for a type. Read more