An RAII class managing the lifetime of a thread.
thread * f_thread
The pointer to the thread being managed.
life & operator=(life const &rhs)=delete
The assignment operator is deleted.
life(life const &rhs)=delete
The copy operator is deleted.
~life()
Make sure the thread stops.
A thread object that ensures proper usage of system threads.