Click here to Skip to main content
13,086,662 members (55,755 online)
Click here to Skip to main content

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

, 14 Oct 2010
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...

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web03 | 2.8.170813.1 | Last Updated 14 Oct 2010
Article Copyright 2010 by supercat9
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid