Skip to main content
snippets
S
nippets
tag:
threading
Use Async Await within Task.Run
C#
5 years ago
async
csharp
examples
task
threading
C# External Command Processing Helper Methods
C#
5 years ago
async
cli
commands
csharp
helpers
process
stdout
threading
utils
Working with Multiple Wait Handlers
C#
5 years ago
async
csharp
manualresetevent
threading
threadpool
waitall
waithandle
Safe ConcurrentDictionary Implementation
C#
5 years ago
concurrency
concurrentdictionary
csharp
dictionary
threading
threadsafe
Cancelling a Task Using a Cancellation Token
C#
5 years ago
cancel
cancellation
cancellationtokensource
csharp
examples
task
threading
token
Atomic Counter Class
C#
5 years ago
class
count
csharp
decrement
increment
interlocked
threading
threadsafe
Run Web Worker Async
JavaScript
5 years ago
async
background
blob
javascript
threading
web-worker
worker
Bash Function to Run Commands in Parallel
Shell
5 years ago
bash
commands
functions
helpers
parallel
threading
utils
Using the BackgroundWorker in CSharp
C#
6 years ago
backgroundworker
csharp
examples
progress
threading
Thread-Safe Hashtable
C#
6 years ago
class
csharp
hashtable
threading
threadsafe
Queued Task Scheduler
C#
6 years ago
async
blockingcollection
csharp
extensions
priority
queue
scheduler
task
threading
threadpool
Process Extensions
C#
6 years ago
async
csharp
dotnet
extensions
process
processinfo
processstartinfo
threading
Raising an Event in a Thread-Safe Way
C#
6 years ago
csharp
event
eventargs
eventhandler
examples
extensions
threading
threadsafe
vol
volatile
Thread-bound Task Scheduler Class
C#
6 years ago
blockingcollection
concurrency
csharp
task
taskscheduler
threading
threadsafe
windows
C# Task Cancellation Example
C#
6 years ago
cancellation
cancellationtokensource
csharp
examples
task
threading
How to Cancel a Non-cancelable Async Operation(s)
C#
6 years ago
async
cancellation
cancellationtokensource
csharp
extensions
task
threading
Lazy Task Execution
C#
6 years ago
csharp
examples
lazy
task
threading
threadsafe
Adding and Removing Items to a BlockingCollection
C#
6 years ago
blockingcollection
consumer
csharp
examples
producer
task
threading
threadsafe
Performing LIFO operations with ConcurrentStack
C#
6 years ago
concurrentstack
csharp
examples
lifo
stack
threading
threadsafe
Enumerating a BlockingCollection
C#
6 years ago
blockingcollection
consumer
csharp
enumerable
enumerate
examples
producer
task
threading
threadsafe
«
1
2
3
4
5
6
7
»
More »