d0n Posted June 26, 2009 Posted June 26, 2009 is it possible to do something every X amount of time without using the sleep function? would using Timerinit and Timerdiff work?
Authenticity Posted June 26, 2009 Posted June 26, 2009 Look at _Timer_SetTimer() or AdlibEnable(). You still need a loop to hold your program running and Sleep() is a good way not to spark your CPU so you can make eggs on it.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now