Click here to Skip to main content

Windows API

GeneralRe: how to get the primary thread ID from a spcified process ID? Pinmemberyph2004010718-Jul-12 18:37 
GeneralRe: how to get the primary thread ID from a spcified process ID? PinmvpRichard MacCutchan18-Jul-12 22:45 
AnswerRe: how to get the primary thread ID from a spcified process ID? PinmemberEddy Vluggen19-Jul-12 0:37 
GeneralMultithreading and timing with Windows API PinmemberNinimi28-Jun-12 17:12 
Being a newbie in multithreading concept, I'd like to better understand why multithreading and/or multi-cores CPU could be problematic while determining timing in a program. Suppose, for example, that I want to know the elapsed time since a user has clicked with a mouse on the PC screen. I understand that there should be an event handler, but I read on some websites that computing such a deltatime could be very tricky, especially for multithreading and/or multi-cores PC.
On the other hand, some people warns about using GetPerformanceCounter because of the multithreading and/or multi-cores...
I would like to understand why and the concepts behind ?
Thank you a lot,

GeneralRe: Multithreading and timing with Windows API Pinmemberpasztorpisti8-Aug-12 5:57 
QuestionBrowse for Folders & Shell Objects PinmemberPhre2d5-Jun-12 7:23 
AnswerRe: Browse for Folders & Shell Objects PinmemberMember 391564617-Jul-12 18:07 
Questionstartprocess Pinmembereftekharpour4-Jun-12 20:45 
AnswerRe: startprocess PinmvpRichard MacCutchan4-Jun-12 23:36 
AnswerRe: startprocess PinmemberEddy Vluggen5-Jun-12 0:04 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Advertise | Privacy | Mobile
Web03 | 2.8.150123.1 | Last Updated 8 Jan 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid