Click here to Skip to main content
15,891,033 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionEnding a Thead and retrieve the result in MFC Pin
manustone31-Aug-06 5:10
manustone31-Aug-06 5:10 
AnswerRe: Ending a Thead and retrieve the result in MFC Pin
Zac Howland31-Aug-06 5:22
Zac Howland31-Aug-06 5:22 
GeneralRe: Ending a Thead and retrieve the result in MFC Pin
manustone31-Aug-06 5:47
manustone31-Aug-06 5:47 
GeneralRe: Ending a Thead and retrieve the result in MFC Pin
Zac Howland31-Aug-06 6:24
Zac Howland31-Aug-06 6:24 
GeneralRe: Ending a Thead and retrieve the result in MFC Pin
manustone31-Aug-06 6:14
manustone31-Aug-06 6:14 
GeneralRe: Ending a Thead and retrieve the result in MFC Pin
Zac Howland31-Aug-06 6:27
Zac Howland31-Aug-06 6:27 
AnswerRe: Ending a Thead and retrieve the result in MFC Pin
Jun Du31-Aug-06 5:32
Jun Du31-Aug-06 5:32 
GeneralRe: Ending a Thead and retrieve the result in MFC Pin
manustone31-Aug-06 5:50
manustone31-Aug-06 5:50 
I know that in pThread it does exist a function that stops the creating thread until the thread called ends its job.

Zac just told me that there is a Win32 (not MFC) that does it. My intention was to wait an amount of time calling Sleep and stopping for a while the calling thread.

Do you know the best way to retrieve the value returned by a thread preferred using MFC classes instead of Win32?
GeneralRe: Ending a Thead and retrieve the result in MFC Pin
Zac Howland31-Aug-06 6:29
Zac Howland31-Aug-06 6:29 
GeneralRe: Ending a Thead and retrieve the result in MFC Pin
manustone31-Aug-06 6:41
manustone31-Aug-06 6:41 
GeneralRe: Ending a Thead and retrieve the result in MFC Pin
manustone31-Aug-06 6:10
manustone31-Aug-06 6:10 
GeneralRe: Ending a Thead and retrieve the result in MFC Pin
Jun Du31-Aug-06 6:56
Jun Du31-Aug-06 6:56 
QuestionOne More IV : Optimization Pin
Nawal K Gupta31-Aug-06 4:39
Nawal K Gupta31-Aug-06 4:39 
AnswerRe: One More IV : Optimization Pin
toxcct31-Aug-06 4:46
toxcct31-Aug-06 4:46 
AnswerRe: One More IV : Optimization Pin
Zac Howland31-Aug-06 4:54
Zac Howland31-Aug-06 4:54 
AnswerRe: One More IV : Optimization Pin
David Crow31-Aug-06 7:30
David Crow31-Aug-06 7:30 
AnswerRe: Clarification Pin
Nawal K Gupta31-Aug-06 19:39
Nawal K Gupta31-Aug-06 19:39 
GeneralRe: Clarification Pin
super_ttd1-Sep-06 23:05
super_ttd1-Sep-06 23:05 
QuestionThreading Interview Question Pin
Nawal K Gupta31-Aug-06 4:37
Nawal K Gupta31-Aug-06 4:37 
AnswerRe: Threading Interview Question Pin
Chris Losinger31-Aug-06 4:44
professionalChris Losinger31-Aug-06 4:44 
GeneralRe: Clarification Pin
Nawal K Gupta31-Aug-06 19:37
Nawal K Gupta31-Aug-06 19:37 
AnswerRe: Threading Interview Question Pin
Zac Howland31-Aug-06 4:49
Zac Howland31-Aug-06 4:49 
AnswerRe: Threading Interview Question Pin
Cedric Moonen31-Aug-06 4:53
Cedric Moonen31-Aug-06 4:53 
GeneralRe: Threading Interview Question Pin
toxcct31-Aug-06 5:29
toxcct31-Aug-06 5:29 
AnswerRe: Clarification Pin
Nawal K Gupta31-Aug-06 19:40
Nawal K Gupta31-Aug-06 19:40 

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.