JayBeams  0.1
Another project to have fun coding.
reconfigure_thread.hpp
Go to the documentation of this file.
1 #ifndef jb_detail_reconfigure_thread_hpp
2 #define jb_detail_reconfigure_thread_hpp
3 
4 #include <jb/thread_config.hpp>
5 
6 namespace jb {
7 namespace detail {
8 
9 /**
10  * Change the current thread parameters based on the configuration.
11  *
12  * @param config the thread configuration
13  * @throw std::exception if the thread cannot be configured as desired
14  */
15 void reconfigure_this_thread(thread_config const& config);
16 
17 } // namespace jb
18 } // namespace jb
19 
20 #endif // jb_detail_reconfigure_thread_hpp
A configuration class for threads.
void reconfigure_this_thread(thread_config const &config)
Change the current thread parameters based on the configuration.
The top-level namespace for the JayBeams library.
Definition: as_hhmmss.hpp:7