Click here to Skip to main content
11,931,104 members (56,753 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
Web04 | 2.8.151126.1 | Last Updated 14 Oct 2010
Article Copyright 2010 by supercat9
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid