Web Analytics Made Easy -
StatCounter Question: Resources used when using the Sleep() Function - CodingForum

Announcement

Collapse
No announcement yet.

Question: Resources used when using the Sleep() Function

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Question: Resources used when using the Sleep() Function

    Hi All

    I have a question regarding the Sleep() Function. I want to use the Sleep() function in a script that may run multiple times, but i dont want hte system to crash or be overloaded with scripts in memory.

    When the script enters a sleep mode, what happens to the script? is it resident in memory? if so could i experience the system bogging down if there were 100+ scripts resident in memory or are they just sitting there doing nothing until they run again?

    Thanks!
Working...
X