jellyfin/Emby.Server.Implementations/IO/SharpCifs/Util/Sharpen/ThreadFactory.cs

14 lines
202 B
C#
Raw Normal View History

2017-04-01 17:36:06 -07:00
namespace SharpCifs.Util.Sharpen
{
2017-07-07 20:12:21 -07:00
internal class ThreadFactory
{
public Thread NewThread (IRunnable r)
{
Thread t = new Thread (r);
t.SetDaemon (true);
t.Start ();
return t;
}
}
2017-04-01 17:36:06 -07:00
}