I am developing an application for WinCE 5.0 on .NET CF 2.0.
I was wondering what other people consider the best solution in the following two cases:
Suppose I have 10 methods that need to be run every 50 ms.
Solution 1:
Create one System.Threading.Timer, which starts every 50 ms, and then in the callback the above 10 methods are launched.
Solution 2:
Create 10 System.Threading.Timer, which starts every 50 ms, and then calls one of the above methods in each of its callbacks.
Which solution works best? Some of the methods are intense, others are not.
user653258
source share