Jump to content
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

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.


Andrew Gransden

Scotland, UK

LINDA Support/Developer - VATSIM and BAVirtual - Airbus Flyer

i7 1TB SSD GTX980 - FSX/P3D - Aerosoft Airbus A318/A319/A320/A321 - FS2Crew

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  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...