Click here to Skip to main content
Click here to Skip to main content

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

, 14 Oct 2010 CPOL
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
Web04 | 2.8.141216.1 | Last Updated 14 Oct 2010
Article Copyright 2010 by supercat9
Everything else Copyright © CodeProject, 1999-2014
Layout: fixed | fluid