You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
jellyfin/Emby.Common.Implementations/IO/SharpCifs/Util/Sharpen/ThreadFactory.cs

17 lines
297 B

using System.Threading.Tasks;
namespace SharpCifs.Util.Sharpen
{
internal class ThreadFactory
{
public Thread NewThread(IRunnable r)
{
Thread t = new Thread(r);
t.SetDaemon(true);
t.Start(true);
return t;
}
}
}