Click here to Skip to main content
14,662,672 members
Home » Discussions » C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: access violation with std::map (VS2015) Pin
David Crow17-Sep-15 5:06
MemberDavid Crow17-Sep-15 5:06 
QuestionRe: access violation with std::map (VS2015) Pin
CPallini17-Sep-15 5:09
mveCPallini17-Sep-15 5:09 
QuestionPassing parameters to constructor - very obvious and basic question from an OF Pin
Vaclav_16-Sep-15 11:31
MemberVaclav_16-Sep-15 11:31 
QuestionRe: Passing parameters to constructor - very obvious and basic question from an OF Pin
CPallini16-Sep-15 21:09
mveCPallini16-Sep-15 21:09 
AnswerRe: Passing parameters to constructor - very obvious and basic question from an OF Pin
Richard MacCutchan16-Sep-15 21:31
mveRichard MacCutchan16-Sep-15 21:31 
GeneralRe: Passing parameters to constructor - very obvious and basic question from an OF Pin
Vaclav_19-Sep-15 1:29
MemberVaclav_19-Sep-15 1:29 
AnswerRe: Passing parameters to constructor - very obvious and basic question from an OF Pin
Daniel Pfeffer19-Sep-15 21:30
professionalDaniel Pfeffer19-Sep-15 21:30 
QuestionReal time drawing using multithreading Pin
FrankStar8912-Sep-15 23:57
MemberFrankStar8912-Sep-15 23:57 
Hello there,
I am looking for the best Way/Strategy to "Continuously read data from the HW in real-time and draw some GUI-diagram in Parallel". Performance would be a big matter here since the graph has to be drawn in real-time.

Its just coming to my mind about 1) creating 1 worker-thread for reading process, and 2) another for GUI drawing.
But I am looking for perfection and suggestions here.

1) Is there any specific Design-Pattern that would fit this?. If so, please suggest.
2) Whats the best way(container) to read data by the worker-thread and keep it for the GUI-thread to process. FIFO? or some other class?

Thanks in advance for your suggestion and advice.
AnswerRe: Real time drawing using multithreading Pin
jschell13-Sep-15 12:24
Memberjschell13-Sep-15 12:24 
GeneralRe: Real time drawing using multithreading Pin
FrankStar8914-Sep-15 21:48
MemberFrankStar8914-Sep-15 21:48 
GeneralRe: Real time drawing using multithreading Pin
jschell15-Sep-15 11:25
Memberjschell15-Sep-15 11:25 
AnswerRe: Real time drawing using multithreading Pin
David Crow14-Sep-15 4:12
MemberDavid Crow14-Sep-15 4:12 
GeneralRe: Real time drawing using multithreading Pin
FrankStar8914-Sep-15 21:50
MemberFrankStar8914-Sep-15 21:50 
QuestionNeed help with this little C program Pin
Member 1197963712-Sep-15 12:44
MemberMember 1197963712-Sep-15 12:44 
SuggestionRe: Need help with this little C program Pin
Richard MacCutchan12-Sep-15 21:00
mveRichard MacCutchan12-Sep-15 21:00 
AnswerRe: Need help with this little C program Pin
CPallini13-Sep-15 6:52
mveCPallini13-Sep-15 6:52 
GeneralRe: Need help with this little C program Pin
Member 1197963713-Sep-15 8:05
MemberMember 1197963713-Sep-15 8:05 
GeneralRe: Need help with this little C program Pin
CPallini13-Sep-15 10:23
mveCPallini13-Sep-15 10:23 
QuestionRe: Need help with this little C program Pin
Member 1197963713-Sep-15 12:24
MemberMember 1197963713-Sep-15 12:24 
AnswerRe: Need help with this little C program Pin
CPallini13-Sep-15 21:13
mveCPallini13-Sep-15 21:13 
QuestionRe: Need help with this little C program Pin
Member 1197963714-Sep-15 2:42
MemberMember 1197963714-Sep-15 2:42 
AnswerRe: Need help with this little C program Pin
Member 1197963714-Sep-15 2:55
MemberMember 1197963714-Sep-15 2:55 
GeneralRe: Need help with this little C program Pin
CPallini14-Sep-15 3:40
mveCPallini14-Sep-15 3:40 
SuggestionRe: Need help with this little C program Pin
David Crow14-Sep-15 4:40
MemberDavid Crow14-Sep-15 4:40 
GeneralRe: Need help with this little C program Pin
Member 1197963714-Sep-15 6:10
MemberMember 1197963714-Sep-15 6:10 

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.