Click here to Skip to main content
15,905,427 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: having problem terminating a thread Pin
alberthyc2-Aug-07 10:47
alberthyc2-Aug-07 10:47 
GeneralRe: having problem terminating a thread Pin
led mike2-Aug-07 10:49
led mike2-Aug-07 10:49 
GeneralRe: having problem terminating a thread Pin
Mark Salsbery2-Aug-07 10:56
Mark Salsbery2-Aug-07 10:56 
GeneralRe: having problem terminating a thread Pin
led mike2-Aug-07 11:01
led mike2-Aug-07 11:01 
GeneralRe: having problem terminating a thread Pin
alberthyc2-Aug-07 11:09
alberthyc2-Aug-07 11:09 
GeneralRe: having problem terminating a thread Pin
Tony Hill2-Aug-07 10:56
professionalTony Hill2-Aug-07 10:56 
GeneralRe: having problem terminating a thread Pin
alberthyc2-Aug-07 11:07
alberthyc2-Aug-07 11:07 
GeneralRe: having problem terminating a thread Pin
Randor 2-Aug-07 11:07
professional Randor 2-Aug-07 11:07 
I think if he tried the code I posted, the wait timeout would not occur. Essentially what is probably happening is that the value of the BOOL is being retrieved from L1 or L2 cache because the thread is doing nothing else to the stack/registers. The atomic operation would prevent the cache hit.

-Randor (David Delaune)
GeneralRe: having problem terminating a thread Pin
alberthyc2-Aug-07 11:13
alberthyc2-Aug-07 11:13 
AnswerRe: having problem terminating a thread Pin
David Crow2-Aug-07 10:46
David Crow2-Aug-07 10:46 
QuestionDiffrenece between executing a program within IDE and Windows Explorer Pin
Joseph Marzbani2-Aug-07 8:41
Joseph Marzbani2-Aug-07 8:41 
AnswerRe: Diffrenece between executing a program within IDE and Windows Explorer Pin
Randor 2-Aug-07 10:44
professional Randor 2-Aug-07 10:44 
QuestionRe: Diffrenece between executing a program within IDE and Windows Explorer Pin
David Crow2-Aug-07 10:47
David Crow2-Aug-07 10:47 
QuestionReport view list control drawing difference when manifest file used Pin
Keith Worden2-Aug-07 6:29
Keith Worden2-Aug-07 6:29 
QuestionMFC: CListCtrl derived class, "creportctrl" tutorial problem Pin
Sternocera2-Aug-07 5:15
Sternocera2-Aug-07 5:15 
QuestionRe: MFC: CListCtrl derived class, "creportctrl" tutorial problem Pin
David Crow2-Aug-07 5:17
David Crow2-Aug-07 5:17 
AnswerRe: MFC: CListCtrl derived class, "creportctrl" tutorial problem Pin
Sternocera2-Aug-07 5:19
Sternocera2-Aug-07 5:19 
QuestionRe: MFC: CListCtrl derived class, "creportctrl" tutorial problem Pin
David Crow2-Aug-07 5:27
David Crow2-Aug-07 5:27 
AnswerRe: MFC: CListCtrl derived class, "creportctrl" tutorial problem Pin
Sternocera2-Aug-07 5:29
Sternocera2-Aug-07 5:29 
AnswerRe: MFC: CListCtrl derived class, "creportctrl" tutorial problem Pin
led mike2-Aug-07 7:15
led mike2-Aug-07 7:15 
GeneralRe: MFC: CListCtrl derived class, "creportctrl" tutorial problem Pin
Sternocera2-Aug-07 7:21
Sternocera2-Aug-07 7:21 
GeneralRe: MFC: CListCtrl derived class, "creportctrl" tutorial problem Pin
led mike2-Aug-07 7:31
led mike2-Aug-07 7:31 
GeneralRe: MFC: CListCtrl derived class, "creportctrl" tutorial problem Pin
Sternocera2-Aug-07 7:35
Sternocera2-Aug-07 7:35 
GeneralRe: MFC: CListCtrl derived class, "creportctrl" tutorial problem Pin
David Crow2-Aug-07 8:05
David Crow2-Aug-07 8:05 
GeneralRe: MFC: CListCtrl derived class, "creportctrl" tutorial problem Pin
Sternocera2-Aug-07 10:08
Sternocera2-Aug-07 10:08 

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.