Click here to Skip to main content
15,889,462 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Zombie command window after debugging VS2008 Pin
Ted-XP15-Feb-10 6:45
Ted-XP15-Feb-10 6:45 
AnswerRe: Zombie command window after debugging VS2008 Pin
wuziq16-Feb-10 12:55
wuziq16-Feb-10 12:55 
AnswerRe: Zombie command window after debugging VS2008 Pin
hssaggu17-Feb-10 8:17
hssaggu17-Feb-10 8:17 
GeneralRe: Zombie command window after debugging VS2008 Pin
addick18-Feb-10 22:15
addick18-Feb-10 22:15 
GeneralRe: Zombie command window after debugging VS2008 Pin
hssaggu19-Feb-10 7:03
hssaggu19-Feb-10 7:03 
AnswerRe: Zombie command window after debugging VS2008 Pin
abedl18-Mar-10 4:43
abedl18-Mar-10 4:43 
AnswerRe: Zombie command window after debugging VS2008 Pin
Tomasz M. Sadowski30-Mar-10 8:12
Tomasz M. Sadowski30-Mar-10 8:12 
QuestionWhich would you use - a static or member function for your worker thread? Pin
Ben Aldhouse15-Feb-10 4:49
Ben Aldhouse15-Feb-10 4:49 
I'm currently working on a rewrite of my most recent article Monitoring and Controlling a Recursing Function in a Worker Thread. I was as happy as someone could be when they've managed to get something that they've been very baffled by to actually do what they wanted it to do when I submitted the original article. Luckily for me, though, someone who is a better programmer than I kindly pointed out the short cuts in it which I was too ignorant to even know I'd made.

So - sixteen months after posting the original article I am currently preparing an update which includes new code employing exclusion techniques which, I hope, satisfies thread safety requirements thereby making the article more useful to people who want to base more complex threaded software on it.

Beyond the thread safety issue, I also looking in to the issue of making the thread function a global (non static) function. This was suggested as a possibility to me. I am not sure why this might be a benefit. The process of re-implementing the function is helping me to attend to the threadsafe issues, though.

I would be very glad to hear of any ideas you have of the benefits of moving the function to a global scope - or possibly keeping it as a member function.

Thanks,

Ben.
AnswerRe: Which would you use - a static or member function for your worker thread? Pin
Chris Losinger15-Feb-10 8:47
professionalChris Losinger15-Feb-10 8:47 
GeneralRe: Which would you use - a static or member function for your worker thread? Pin
Ben Aldhouse15-Feb-10 8:58
Ben Aldhouse15-Feb-10 8:58 
QuestionHelp plz Pin
zakria8115-Feb-10 4:49
zakria8115-Feb-10 4:49 
AnswerRe: Help plz Pin
Avi Berger15-Feb-10 5:00
Avi Berger15-Feb-10 5:00 
QuestionRe: Help plz Pin
Maximilien15-Feb-10 5:00
Maximilien15-Feb-10 5:00 
AnswerRe: Help plz Pin
Michael Schubert15-Feb-10 5:51
Michael Schubert15-Feb-10 5:51 
QuestionProblem with DLL injection and API hooking Pin
vtorri15-Feb-10 4:44
professionalvtorri15-Feb-10 4:44 
QuestionID_FILE_SAVE lost Pin
CODEPC15-Feb-10 3:37
CODEPC15-Feb-10 3:37 
QuestionRe: ID_FILE_SAVE lost Pin
David Crow15-Feb-10 3:56
David Crow15-Feb-10 3:56 
AnswerRe: ID_FILE_SAVE lost Pin
CODEPC15-Feb-10 4:06
CODEPC15-Feb-10 4:06 
AnswerRe: ID_FILE_SAVE lost Pin
«_Superman_»15-Feb-10 4:02
professional«_Superman_»15-Feb-10 4:02 
GeneralRe: ID_FILE_SAVE lost [modified] Pin
CODEPC15-Feb-10 4:07
CODEPC15-Feb-10 4:07 
GeneralRe: ID_FILE_SAVE lost Pin
«_Superman_»15-Feb-10 17:27
professional«_Superman_»15-Feb-10 17:27 
Questioncompact database Pin
kk.tvm15-Feb-10 1:15
kk.tvm15-Feb-10 1:15 
AnswerRe: compact database Pin
CPallini15-Feb-10 1:38
mveCPallini15-Feb-10 1:38 
Questionconguring a special style for CMFCOutlookBarTabCtrl class Pin
A&Ms14-Feb-10 23:42
A&Ms14-Feb-10 23:42 
AnswerRe: conguring a special style for CMFCOutlookBarTabCtrl class Pin
A&Ms15-Feb-10 10:06
A&Ms15-Feb-10 10:06 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.