title: C# Thread Synchronization
body: <p>I have a problem with C# threads.</p>
  
  <ol>
  <li><p>I have eendless process “worker”, which do some and after iteration sleep 3 seconds.</p></li>
  <li><p>I have a timer function that runs at a given time.</p></li>
  </ol>
  
  <p>I need the "timer function" do something, then wait for the end "worker" iteration and then pause "worker" until "timer function" is done own task , after that timer function starts a "worker" again.</p>
  
  <p>How can I do that?
  Best regards Paul</p>