Click here to Skip to main content
15,891,424 members
Articles / Programming Languages / C++

[C++/MFC] : Use a Thread Delegator for your threads

14 Oct 2010CPOL 1.4K   2
Why not create a struct holding an member-function pointer, and pass a pointer to that struct? It's an extra object on the heap, but one shouldn't have to worry about whether the member-function pointer can be safely overlaid with a void*.
Only logged in members can view this content

Please go to the C++ Table of Contents to view the list of available articles in this section.