Jump to content
Sign in to follow this  
d0n

doing something every X amount of time without using sleep

Recommended Posts

d0n

is it possible to do something every X amount of time without using the sleep function?

would using Timerinit and Timerdiff work?

Share this post


Link to post
Share on other sites
Authenticity

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.

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×