aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/IO/SharpCifs/Util/Sharpen/ThreadFactory.cs
blob: 7276c06a2cb24f4ceb8c27e42d93c16b5efd0b95 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
namespace SharpCifs.Util.Sharpen
{
	internal class ThreadFactory
	{
		public Thread NewThread (IRunnable r)
		{
			Thread t = new Thread (r);
			t.SetDaemon (true);
			t.Start ();
			return t;
		}
	}
}