struct thread_queue::impl
Declaration
struct thread_queue::impl { /* full declaration omitted */ };
Member Variables
- double_buffered_queue<job> queue
- const bool enable_profiling
- std::thread thread
Member Function Overview
- execute(job & job) const → void
- impl(std::string name, bool enable_profiling) → explicit
- loop() → void
- thread_main(const std::string & name) → void
Member Functions
¶void execute(job& job) const
void execute(job& job) const
Parameters
- job& job
¶explicit impl(std::string name,
bool enable_profiling)
explicit impl(std::string name,
bool enable_profiling)
Parameters
- std::string name
- bool enable_profiling
¶void loop()
void loop()
¶void thread_main(const std::string& name)
void thread_main(const std::string& name)
Parameters
- const std::string& name