Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
only one copy of itself running at once
#1
Is there a way to have a function (which takes 60 seconds to run and is triggered by a common occurance) run so that it can not have more than one copy of itself running at one time?
#2
Code:
Copy      Help
[color=blue]if[/color]([color=blue]getopt[/color](nthreads)>1) [color=blue]ret[/color]
#3
Awesome!!
THANKS!!!


Forum Jump:


Users browsing this thread: 1 Guest(s)