Hello all,
Often, I use Timer control in my code. Due to speed questions, many times am using a low value when initializing Timer:
timer1.Initialize("timer1",20)
Yet, I am feared about lowing further this values because I'm not sure which would be the behaviour of the OS in some minutes or seconds. I mean, if timer interval is too short and density of code takes longer that timer interval, could it be possible that the OS create additionals threads or definitely, Timer must wait until finishing the present thread/interval? Is it regulated by semaphores?
Thanks in advance!
Often, I use Timer control in my code. Due to speed questions, many times am using a low value when initializing Timer:
timer1.Initialize("timer1",20)
Yet, I am feared about lowing further this values because I'm not sure which would be the behaviour of the OS in some minutes or seconds. I mean, if timer interval is too short and density of code takes longer that timer interval, could it be possible that the OS create additionals threads or definitely, Timer must wait until finishing the present thread/interval? Is it regulated by semaphores?
Thanks in advance!