Jump to content

Search the Community

Showing results for tags 'sleep()'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General
    • Announcements and Site News
    • Administration
  • AutoIt v3
    • AutoIt Help and Support
    • AutoIt Technical Discussion
    • AutoIt Example Scripts
  • Scripting and Development
    • Developer General Discussion
    • Language Specific Discussion
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Categories

  • AutoIt Team
    • Beta
    • MVP
  • AutoIt
    • Automation
    • Databases and web connections
    • Data compression
    • Encryption and hash
    • Games
    • GUI Additions
    • Hardware
    • Information gathering
    • Internet protocol suite
    • Maths
    • Media
    • PDF
    • Security
    • Social Media and other Website API
    • Windows
  • Scripting and Development
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Member Title


Location


WWW


Interests

Found 2 results

  1. Consider the following two scenarios: While(1) Sleep(10) WEnd and While(1) Sleep(100000) WEnd How does Sleep() work for the above two cases? Do they both use the same amount of cpu time? I think the second scenario will check the time difference just as often as the first scenario, meaning the exact same amount of resources is spent in both scenarios. The only difference is that the second scenario waits longer before going to WEnd? Is that correct? Or is doing Sleep(100000) better than doing Sleep(10)? Extra question: Which is more computationally efficient if I want an infinite loop running in the background? The above question's answer or: While(1) WEnd Thank you in advance.
  2. Self explanatory, why doesn't this work? Sleep((Random, 990, 1990, 1))Thanks in advance
×
×
  • Create New...