Skip to main content
snippets
S
nippets
tag:
task
Monitoring Task Cancellation with a Delegate (or callback)
C#
6 years ago
cancel
cancellation
csharp
dotnet
examples
task
threading
Schedule a Command to Run at a Specific Time
PowerShell
6 years ago
at
commands
powershell
schedule
task
windows
Implementing Lazy-evaluated shared states
C#
6 years ago
csharp
examples
lazyload
task
threading
threadsafe
Concurrent Priority Queue
C#
6 years ago
csharp
dotnet
priority
queue
task
threading
threadsafe
Serial Task Queue
C#
6 years ago
csharp
lock
queue
serial
task
threading
Spin Lock Class
C#
6 years ago
csharp
lock
spinlock
task
threading
Delegate Extensions
C#
6 years ago
async
csharp
delegate
dotnet
extensions
parallel
task
threading
Task Completion Source Extensions
C#
6 years ago
async
csharp
dotnet
extensions
task
threading
Aggregate Exception Extensions
C#
6 years ago
aggregateexception
async
csharp
exception
extensions
task
Task Factory Extensions
C#
6 years ago
async
csharp
dotnet
extensions
factory
task
threading
Extra Task Extensions
C#
6 years ago
async
csharp
dotnet
extensions
task
threading
When to Abort a Thread in C#
C#
7 years ago
background
csharp
task
threading
timeout
troubleshooting
ASP.NET Core 2.0 Hosted Service Base Class
C#
7 years ago
aspnet
async
base
class
core
csharp
dotnet
task
threading
Register Callbacks for Cancellation Requests
C#
7 years ago
async
cancellation
cancellationtokensource
csharp
examples
task
threading
token
Listen for Cancellation Requests that have Wait Handles
C#
7 years ago
cancellation
csharp
event
examples
manualreseteventslim
task
threading
token
Listen for Cancellation Requests by Polling
C#
7 years ago
async
concurrency
csharp
examples
task
threading
Getting a Return Value from a Task
C#
7 years ago
async
csharp
task
threading
taskkill command
DOS
7 years ago
commands
examples
kill
process
task
taskkill
windows
Execute an Operation with Exponential Back-off
C#
7 years ago
action
class
csharp
dotnet
exception
exponential
task
threading
Thread-safe Producer-Consumer from Scratch
C#
7 years ago
consumer
csharp
dotnet
examples
producer
queue
task
threading
threadsafe
«
1
2
3
»
More »