Click here to Skip to main content
12,397,805 members (51,564 online)
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.

You may also be interested in...

| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.160721.1 | Last Updated 14 Oct 2010
Article Copyright 2010 by supercat9
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid