13 references to LongRunning
Consumer (1)
ConsumerWorker.cs (1)
39
}, stoppingToken, TaskCreationOptions.
LongRunning
, TaskScheduler.Current);
Microsoft.AspNetCore.OutputCaching.StackExchangeRedis (1)
RedisOutputCacheStore.cs (1)
88
_ = Task.Factory.StartNew(RunGarbageCollectionLoopAsync, default, TaskCreationOptions.
LongRunning
, TaskScheduler.Current);
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (1)
Utilities\AsynchronousOperationListenerTests.cs (1)
68
}, _tokenSource.Token, TaskCreationOptions.
LongRunning
, TaskScheduler.Default);
OrderProcessor (1)
OrderProcessingWorker.cs (1)
43
}, stoppingToken, TaskCreationOptions.
LongRunning
, TaskScheduler.Current);
Roslyn.VisualStudio.DiagnosticsWindow (1)
OptionPages\ForceLowMemoryMode.cs (1)
80
return Task.Factory.StartNew(() => this.PopulateAndMonitorWorkerAsync(size), CancellationToken.None, TaskCreationOptions.
LongRunning
, TaskScheduler.Default).Unwrap();
System.IO.Ports (1)
System\IO\Ports\SerialStream.Unix.cs (1)
685
TaskCreationOptions.
LongRunning
,
System.Private.CoreLib (6)
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\EventPipeEventDispatcher.Threads.cs (1)
18
m_dispatchTask = Task.Factory.StartNew(() => DispatchEventsToEventListeners(sessionID, syncTimeUtc, syncTimeQPC, timeQPCFrequency, previousDispatchTask, m_dispatchTaskCancellationSource.Token), CancellationToken.None, TaskCreationOptions.
LongRunning
, TaskScheduler.Default);
src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs (1)
545
TaskCreationOptions.
LongRunning
|
src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskFactory.cs (3)
205
TaskCreationOptions.
LongRunning
|
1511
if ((creationOptions & TaskCreationOptions.
LongRunning
) != 0)
1523
TaskCreationOptions.
LongRunning
)) != 0)
src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\ThreadPoolTaskScheduler.cs (1)
45
if (Thread.IsThreadStartSupported && (options & TaskCreationOptions.
LongRunning
) != 0)
VBCSCompiler (1)
src\Compilers\Server\VBCSCompiler\ClientConnectionHandler.cs (1)
172
var task = new Task<BuildResponse>(func, cancellationToken, TaskCreationOptions.
LongRunning
);