how to recalculate something ~once per second?
<p>I need to do some pretty fast recalculation ~every second.
What is the best way to do that? Is using dedicated thread and <code>Thread.Sleep</code> is ok?</p>

<pre><code>        Task.Factory.StartNew(() =&gt; 
        {
            while (true)
            {
                RecalculateState();
                Thread.Sleep(1000);
            }
        }, TaskCreationOptions.LongRunning);
</code></pre>
