With C++11 support, you can do something like this (you can use the Boost.Thread library instead if you don't have C++11 support).
#include <mutex>
#include <thread>
class ThreadWrapper
{...
CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
Search:Type: Posts; User: D_Drmmr Search: Search took 0.03 seconds.
Results 1 to 2 of 2
|
Click Here to Expand Forum to Full Width |