Click here to Skip to main content
15,887,477 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
AnswerRe: Simple WaitForSingleObject question Pin
Midi_Mick20-Nov-16 14:17
professionalMidi_Mick20-Nov-16 14:17 
QuestionComponent "Assimp" and Export 3D Scene into Graphical File Pin
Onic77719-Nov-16 11:47
Onic77719-Nov-16 11:47 
AnswerRe: Component "Assimp" and Export 3D Scene into Graphical File Pin
leon de boer19-Nov-16 19:17
leon de boer19-Nov-16 19:17 
Questionpkg_config ?? Pin
Vaclav_18-Nov-16 14:27
Vaclav_18-Nov-16 14:27 
AnswerRe: pkg_config ?? Pin
Richard MacCutchan18-Nov-16 21:55
mveRichard MacCutchan18-Nov-16 21:55 
GeneralRe: pkg_config ?? Pin
Jochen Arndt18-Nov-16 22:54
professionalJochen Arndt18-Nov-16 22:54 
GeneralRe: pkg_config ?? Pin
Richard MacCutchan19-Nov-16 1:21
mveRichard MacCutchan19-Nov-16 1:21 
GeneralRe: pkg_config ?? Pin
Vaclav_19-Nov-16 9:29
Vaclav_19-Nov-16 9:29 
GeneralRe: pkg_config ?? Pin
Richard MacCutchan19-Nov-16 12:03
mveRichard MacCutchan19-Nov-16 12:03 
AnswerRe: pkg_config ?? Pin
markkuk20-Nov-16 23:39
markkuk20-Nov-16 23:39 
GeneralRe: pkg_config ?? Pin
Vaclav_21-Nov-16 4:45
Vaclav_21-Nov-16 4:45 
GeneralRe: pkg_config ?? Pin
Vaclav_29-Nov-16 8:35
Vaclav_29-Nov-16 8:35 
Question#ifdef...#endif is not working in Resource(.rc) file Pin
Member 1233569517-Nov-16 17:20
Member 1233569517-Nov-16 17:20 
AnswerRe: #ifdef...#endif is not working in Resource(.rc) file Pin
Richard MacCutchan17-Nov-16 20:50
mveRichard MacCutchan17-Nov-16 20:50 
AnswerRe: #ifdef...#endif is not working in Resource(.rc) file Pin
leon de boer17-Nov-16 20:54
leon de boer17-Nov-16 20:54 
GeneralRe: #ifdef...#endif is not working in Resource(.rc) file Pin
Member 1233569517-Nov-16 21:43
Member 1233569517-Nov-16 21:43 

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.