Thread exit handler
C / C++ / MFC
2
Posts
2
Posters
0
Views
1
Watching
-
Hi all, do we have some way by which we can have a function with which we can do the cleanup job!! like exit handler for threads. i have created thread with CreateThread Thanks Harshal
-
Hi all, do we have some way by which we can have a function with which we can do the cleanup job!! like exit handler for threads. i have created thread with CreateThread Thanks Harshal
You can call any function you have access to from your thread. Write a cleanup function and call it? Are you thinking along the lines of InitInstance/ExitInstance virtual initialization/cleanup methods?