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;
|
|
}
|
|
}
|
|
}
|