зеркало из https://github.com/Azure/DotNetty.git
+ code formatting
This commit is contained in:
Родитель
df5cd79cab
Коммит
899e53f664
|
@ -59,10 +59,8 @@ namespace DotNetty.Common
|
|||
|
||||
if (Interlocked.CompareExchange(ref started, 1, 0) == 0)
|
||||
{
|
||||
var watcherThread = new Thread(s => ((IRunnable)s).Run())
|
||||
{
|
||||
IsBackground = true
|
||||
};
|
||||
var watcherThread = new Thread(s => ((IRunnable)s).Run());
|
||||
watcherThread.IsBackground = true;
|
||||
watcherThread.Start(watcher);
|
||||
ThreadDeathWatcher.watcherThread = watcherThread;
|
||||
}
|
||||
|
|
|
@ -98,10 +98,9 @@ namespace DotNetty.Common.Utilities
|
|||
tickInterval,
|
||||
long.MaxValue / this.wheel.Length));
|
||||
}
|
||||
this.workerThread = new Thread(st => this.worker.Run())
|
||||
{
|
||||
IsBackground = true
|
||||
};
|
||||
|
||||
this.workerThread = new Thread(st => this.worker.Run());
|
||||
this.workerThread.IsBackground = true;
|
||||
|
||||
this.maxPendingTimeouts = maxPendingTimeouts;
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче