mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-11-20 04:18:51 -07:00
17 lines
297 B
C#
17 lines
297 B
C#
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;
|
|
}
|
|
}
|
|
}
|