Module switchyard::threads[][src]

Helper functions for creating iterators of ThreadAllocationOutput for spawning on the Switchyard.

Structs

ThreadAllocationInput

Information about threads on the system

ThreadAllocationOutput

Spawn information for a worker thread.

Functions

double_pool_one_to_one

A one thread per core, two pool thread configuration.

double_pool_two_to_one

A two thread per core, two pool thread configuration.

single_pool_one_to_one

A single thread per core, single pool thread configuration.

single_pool_single_thread

A single thread, single pool thread configuration.

single_pool_two_to_one

A two thread per core, single pool thread configuration.

thread_info

System thread information to pass into other functions in this module.