These examples are released under the Unlicense. Copy them and modify them as much as you want.
Introduction [code]
- How to define a pipeline with user input and output.
- How to provide input
- How to access output
Consumer Threads [code]
- How to define a consumer
- How to use a pipeline with user input and a consumer
Producer Threads [code]
- How to define a producer
- How to control production
Pipeline Types [code]
- Possible input and output combinations to declare pipelines
- Why it's a good idea to use
auto
Execution policies [code]
- How to use policies
- Differences between the data structures utilized
Producers with Consumers [code]
- The combination of producer threads and consumer threads (independent pipeline)
Smart Pointer Wrappers [code]
- How to declare and use pipelines with
std::unique_ptr
andstd::shared_ptr
Reference Parameters [code]
- A display of the internals of the library, allowing micro-optimizations
Member Functions [code]
- An obscure language feature, that just works, if you're insane enough to try it
Lock-free policies [code]
- A use case where lock-free is good