Sign in to follow this  
watin

Timer

Recommended Posts

Hi !

 

Falling back into programming... Is there a way to "postpone" a function for a certain amount of milliseconds not freezing everything as ipc.sleep ?

 

Thanks

Share this post


Link to post
Share on other sites
Help AVSIM continue to serve you!
Please donate today!

Hi !

 

Falling back into programming... Is there a way to "postpone" a function for a certain amount of milliseconds not freezing everything as ipc.sleep ?

 

Thanks

 

What you are wanting would require some deep coding to achieve involving setting flags and playing with the main heartbeat timer.  Unless you are a competent programmer familiar with real time systems then I don't recommend you go this route.

 

The question is why would you want to delay a function?  The ipc.sleep is used to delay a display disappearing too quickly or to allow the hardware/simulator to respond to a command before continuing.

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