Click here to Skip to main content
16,010,114 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: C++ Pin
Afzaal Ahmad Zeeshan26-Nov-16 4:39
professionalAfzaal Ahmad Zeeshan26-Nov-16 4:39 
AnswerRe: C++ Pin
Patrice T29-Nov-16 17:14
mvePatrice T29-Nov-16 17:14 
QuestionGame dev tutorials for c++ Pin
dolfijn300025-Nov-16 7:48
dolfijn300025-Nov-16 7:48 
AnswerRe: Game dev tutorials for c++ Pin
Afzaal Ahmad Zeeshan26-Nov-16 4:44
professionalAfzaal Ahmad Zeeshan26-Nov-16 4:44 
GeneralRe: Game dev tutorials for c++ Pin
dolfijn300026-Nov-16 6:59
dolfijn300026-Nov-16 6:59 
GeneralRe: Game dev tutorials for c++ Pin
Afzaal Ahmad Zeeshan26-Nov-16 8:45
professionalAfzaal Ahmad Zeeshan26-Nov-16 8:45 
AnswerRe: Game dev tutorials for c++ Pin
CPallini28-Nov-16 21:56
mveCPallini28-Nov-16 21:56 
QuestionUsing multiple cores within a single thread in C++ and MFC Pin
TQTL22-Nov-16 6:43
professionalTQTL22-Nov-16 6:43 
AnswerRe: Using multiple cores within a single thread in C++ and MFC Pin
Richard MacCutchan22-Nov-16 8:38
mveRichard MacCutchan22-Nov-16 8:38 
AnswerRe: Using multiple cores within a single thread in C++ and MFC Pin
Patrice T22-Nov-16 10:54
mvePatrice T22-Nov-16 10:54 
AnswerRe: Using multiple cores within a single thread in C++ and MFC Pin
Randor 22-Nov-16 12:27
professional Randor 22-Nov-16 12:27 
AnswerRe: Using multiple cores within a single thread in C++ and MFC Pin
David Crow22-Nov-16 12:48
David Crow22-Nov-16 12:48 
AnswerRe: Using multiple cores within a single thread in C++ and MFC Pin
leon de boer22-Nov-16 19:15
leon de boer22-Nov-16 19:15 
QuestionRun time validation in .RC file in VC++ Mfc application Pin
rajmohanpatel21-Nov-16 23:50
rajmohanpatel21-Nov-16 23:50 
AnswerRe: Run time validation in .RC file in VC++ Mfc application Pin
Jochen Arndt22-Nov-16 0:11
professionalJochen Arndt22-Nov-16 0:11 
QuestionTCP server handle Clients, std::map or array? Pin
bestbear20-Nov-16 5:03
bestbear20-Nov-16 5:03 
AnswerRe: TCP server handle Clients, std::map or array? Pin
Afzaal Ahmad Zeeshan20-Nov-16 21:36
professionalAfzaal Ahmad Zeeshan20-Nov-16 21:36 
GeneralRe: TCP server handle Clients, std::map or array? Pin
bestbear20-Nov-16 22:23
bestbear20-Nov-16 22:23 
AnswerRe: TCP server handle Clients, std::map or array? Pin
Jochen Arndt21-Nov-16 0:22
professionalJochen Arndt21-Nov-16 0:22 
GeneralRe: TCP server handle Clients, std::map or array? Pin
bestbear21-Nov-16 1:11
bestbear21-Nov-16 1:11 
GeneralRe: TCP server handle Clients, std::map or array? Pin
Jochen Arndt21-Nov-16 2:35
professionalJochen Arndt21-Nov-16 2:35 
GeneralRe: TCP server handle Clients, std::map or array? Pin
bestbear21-Nov-16 2:48
bestbear21-Nov-16 2:48 
QuestionSimple WaitForSingleObject question Pin
ForNow19-Nov-16 16:14
ForNow19-Nov-16 16:14 
AnswerRe: Simple WaitForSingleObject question Pin
Midi_Mick19-Nov-16 17:09
professionalMidi_Mick19-Nov-16 17:09 
I think you've got the meaning of "signalled" the wrong way around. The wait function will return only when the event is signalled. An auto-reset event will automatically reset the event to non-signalled when it returns, and manual reset event will not. Use the SetEvent to release other threads, or the ResetEvent to block other threads.

Think of the event of some operation that has to happen in your code. Other threads need to wait for that operation to complete. Once it has been completed, you signal the other threads that it is ok to proceed.
Cheers,

Mick
------------------------------------------------
It doesn't matter how often or hard you fall on your arse, eventually you'll roll over and land on your feet.

GeneralRe: Simple WaitForSingleObject question Pin
ForNow20-Nov-16 10:48
ForNow20-Nov-16 10:48 

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.