D
Dinesh Eswaran
Hi,
I use the Timer from System.Threading to call the function 'myFunc'
every 1000 msecs. myFunc is executed from the .NET thread pool
// 'myFunc' is the call back function
myCallback = new TimerCallback(myFunc);
// Set up timer to call 'myFunc' every 1000 msec
myTimer = new Timer(myCallback, null, 1000, 1000);
What happens when there is an overlap? i.e., A call to 'myFunc' takes
more than 1000 msecs and meanwhile a second call arrives? In my test I
am finding that the first call just exits midway! Can this be true?
-- Dinesh
I use the Timer from System.Threading to call the function 'myFunc'
every 1000 msecs. myFunc is executed from the .NET thread pool
// 'myFunc' is the call back function
myCallback = new TimerCallback(myFunc);
// Set up timer to call 'myFunc' every 1000 msec
myTimer = new Timer(myCallback, null, 1000, 1000);
What happens when there is an overlap? i.e., A call to 'myFunc' takes
more than 1000 msecs and meanwhile a second call arrives? In my test I
am finding that the first call just exits midway! Can this be true?
-- Dinesh