c++ - Timer Interrupt Service Routine on a host computer running at a rate of 10 microseconds or faster -


I am trying to run the following pseudocode at the rate of 10 microsports or on the host computer (512 MB RAM, Intel 2.5 GigHartz Pentium 4 processor, etc.) is running on a Windows XP operating system:

  int main (zero) {while (1) {}; } Interrupt Service Routine: Every 10 microsounds, printf ("Hello World");  

I know that MFCs are timers, but they are not working if the timer needs to be faster than 1 ms. What would be the easiest way to accomplish the goals of my pseudocode? thank you in advanced.

I'm not sure that you can get that type of display from Windows XP, at least Not dependable from the user. You may be able to run your code in the form of a kernel driver, or instead of using a real-time OS like Xenomai, you may have to do better.


Comments

Popular posts from this blog

c# - ListView onScroll event -

PHP - get image from byte array -

Linux Terminal Problem with Non-Canonical Terminal I/O app -