Click here to Skip to main content
15,903,033 members
Articles / Programming Languages / C++

A Simple Worker Thread Class

Rate me:
Please Sign up or sign in to vote.
5.00/5 (6 votes)
29 Mar 2019CPOL2 min read 11.5K   6  
This is a simple worker thread class that allows when to use a member function as the thread function.

Views

Daily Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior)
United States United States
I work on an industrial HPC project that can run on either the CPU or the GPU. I usually use which ever one has the most horsepower on a given machine. It's written with CUDA with very few ifdefs used. My company is quite large, in the top five in our industry in North America, and I work in a small group with just five programmers.

Comments and Discussions