|
Thread speed in C++
Hello! I'm writing a bunch of sample programmes to use as examples for teaching new programmers, and I'm currently working on PID. I know there's a PID class, but I would prefer to write my own as I have the capability. The PID loops I know of utilize time a lot, and tend to be a bit eccentric, so I was thinking of creating them in a separate thread (using the Task class). The thing I want to know is how fast threads execute. Is it 50Hz like the periodic methods or is it more akin to the discontinued continuous methods? Thanks!
|