Click here to Skip to main content
11,495,331 members (52,669 online)
Click here to Skip to main content

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

, 14 Oct 2010 CPOL 453
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*.
We're sorry, but the article you are trying to view has been deleted.

Please go to the Programming Tips Table of Contents to view the list of available articles in this section.
| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.150520.1 | Last Updated 14 Oct 2010
Article Copyright 2010 by supercat9
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid