mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-19 23:35:25 +03:00
14 lines
202 B
C#
14 lines
202 B
C#
|
|
namespace SharpCifs.Util.Sharpen
|
||
|
|
{
|
||
|
|
internal class ThreadFactory
|
||
|
|
{
|
||
|
|
public Thread NewThread (IRunnable r)
|
||
|
|
{
|
||
|
|
Thread t = new Thread (r);
|
||
|
|
t.SetDaemon (true);
|
||
|
|
t.Start ();
|
||
|
|
return t;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|