Click here to Skip to main content
15,885,365 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: new and free Pin
CPallini23-May-12 1:48
mveCPallini23-May-12 1:48 
AnswerRe: new and free Pin
«_Superman_»23-May-12 4:54
professional«_Superman_»23-May-12 4:54 
QuestionUnable to write to shared memory Pin
manoharbalu22-May-12 20:20
manoharbalu22-May-12 20:20 
AnswerRe: Unable to write to shared memory Pin
Malli_S22-May-12 20:34
Malli_S22-May-12 20:34 
GeneralRe: Unable to write to shared memory Pin
manoharbalu22-May-12 22:40
manoharbalu22-May-12 22:40 
AnswerRe: Unable to write to shared memory Repost Pin
Richard MacCutchan22-May-12 22:34
mveRichard MacCutchan22-May-12 22:34 
GeneralRe: Unable to write to shared memory Repost Pin
Richard Andrew x6423-May-12 12:08
professionalRichard Andrew x6423-May-12 12:08 
QuestionSyncronisation problem Pin
VCProgrammer22-May-12 20:13
VCProgrammer22-May-12 20:13 
Hi all,

I am having a problem. I am having two threads, one thread i doing some work inside a for loop and inside that for loop its making a call for second thread.

My problem is that my first thread should not resume its working untill thread2 finishes it work, and after thread2 has finished its work it should start its working after thread2 was called.

Can i use CEvent for this???

I am not getting how to do it.

Thanks in advance
AnswerRe: Syncronisation problem Pin
Malli_S22-May-12 20:45
Malli_S22-May-12 20:45 
AnswerRe: Syncronisation problem Pin
Erudite_Eric22-May-12 21:52
Erudite_Eric22-May-12 21:52 
AnswerRe: Syncronisation problem Pin
Richard MacCutchan22-May-12 22:33
mveRichard MacCutchan22-May-12 22:33 
AnswerRe: Syncronisation problem Pin
ThatsAlok23-May-12 3:55
ThatsAlok23-May-12 3:55 
Questionunable to write into the shared memory Pin
manoharbalu22-May-12 4:02
manoharbalu22-May-12 4:02 
AnswerRe: unable to write into the shared memory Pin
Richard Andrew x6422-May-12 4:08
professionalRichard Andrew x6422-May-12 4:08 
GeneralRe: unable to write into the shared memory Pin
manoharbalu22-May-12 4:14
manoharbalu22-May-12 4:14 
GeneralRe: unable to write into the shared memory Pin
Richard Andrew x6422-May-12 4:22
professionalRichard Andrew x6422-May-12 4:22 
GeneralRe: unable to write into the shared memory Pin
manoharbalu22-May-12 4:33
manoharbalu22-May-12 4:33 
AnswerRe: unable to write into the shared memory Pin
Richard Andrew x6422-May-12 4:36
professionalRichard Andrew x6422-May-12 4:36 
GeneralRe: unable to write into the shared memory Pin
manoharbalu22-May-12 4:50
manoharbalu22-May-12 4:50 
AnswerRe: unable to write into the shared memory Pin
Richard Andrew x6422-May-12 4:58
professionalRichard Andrew x6422-May-12 4:58 
GeneralRe: unable to write into the shared memory Pin
manoharbalu22-May-12 18:41
manoharbalu22-May-12 18:41 
QuestionChange Specific Text Color - RichEdit Control Pin
AmbiguousName22-May-12 2:13
AmbiguousName22-May-12 2:13 
AnswerRe: Change Specific Text Color - RichEdit Control Pin
Richard Andrew x6422-May-12 2:24
professionalRichard Andrew x6422-May-12 2:24 
GeneralRe: Change Specific Text Color - RichEdit Control Pin
AmbiguousName22-May-12 2:44
AmbiguousName22-May-12 2:44 
GeneralRe: Change Specific Text Color - RichEdit Control Pin
Richard Andrew x6422-May-12 2:49
professionalRichard Andrew x6422-May-12 2:49 

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.