Multithreaded C++
Design a class (or several classes) to be used to implement C++ Thread Management. You may use any
underlying thread library you choose (POSIX pthreads, Windows Threads, or some other open-source or
easily accessible threading library). Ideally your Threads should give me a safe method to pass progress
back to the main thread on the progress of the execution or my work that I’ve decided to perform with
your thread.
If something is unclear please note what assumptions you are making.
The following is an example of a test program that would use your Thread class
// I've created a thread that does some work and inherits from your base Thread class
class DoWorkThread : public <YourThreadClass>
{...};
int main(){
...
// DECLARE the base class
DoWorkThread example_worker ( data );
// Start the thread
example_worker.start();
...
<other calls you define that I would use>
}