title: How to make synchronous calls on a different thread
body: <p>I want to <em>enqueue</em> an <code>Action</code> with a separate <code>ManualResetEvent</code> into function queue like</p>
  
  <pre><code>Enqueue(() =&gt;
  {
     function();
     ManualResetEvent evt;
  });
  evt.WaitOne();
  </code></pre>
  
  <p>on the thread which takes action from the function queue, and execute the action</p>
  
  <pre><code>Action action = queue.dequeue();
  action();
  </code></pre>
  
  <p>I want to do: <code>evt.Set();</code> here
  my question is how can I get that <code>ManualResetEvent</code> object, as in the debugger I can see action's Target has that ManualResetEvent evt</p>