Skip to content

Instantly share code, notes, and snippets.

@mgroves
Created March 16, 2011 15:36
Show Gist options
  • Select an option

  • Save mgroves/872679 to your computer and use it in GitHub Desktop.

Select an option

Save mgroves/872679 to your computer and use it in GitHub Desktop.
do not thread
internal class DoNotThreadService : IThreadingService
{
public void QueueUserWorkItem(WaitCallback func)
{
func.Invoke(null);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment