Skip to main content
snippets
S
nippets
tag:
threading
Translate Event-Based Asynchronous Operations to Tasks
C#
8 years ago
async
csharp
eap
examples
patterns
task
threading
Performing Basic Atomic Operations
C#
8 years ago
csharp
examples
lock
threading
threadsafe
Thread Pool and the Degree of Parallelism
C#
8 years ago
async
csharp
examples
threading
threadpool
Monitor.TryEnter, lock, using, and Deadlock
C#
8 years ago
csharp
examples
lock
threading
Providing Thread-Safe Access to Class Members
C#
8 years ago
csharp
examples
threading
threadsafe
Shutting Down Worker Threads Gracefully
C#
8 years ago
csharp
examples
shutdown
threading
worker
Aborting a Thread After Timeout Period
C#
8 years ago
csharp
examples
threading
timeout
timespan
Fast Concurrent Lazy Load Cache
C#
8 years ago
cache
concurrency
csharp
examples
lazyload
threading
threadsafe
Block Until All Threads Finish
C#
8 years ago
csharp
examples
threading
threadsafe
Timeout Tracker
C#
8 years ago
csharp
helpers
threading
timeout
Wait and Pulse Producer Consumer Queue
C#
8 years ago
consumer
csharp
producer
queue
threading
Unit Testing Thread-Safety In C#
Markdown
8 years ago
articles
csharp
markdown
testing
threading
threadsafe
Task-based Combinator Helpers
C#
8 years ago
async
csharp
helpers
task
threading
Use FileSystemWatcher Instead of Polling
C#
8 years ago
csharp
file
threading
threadsafe
Unit Test from Multiple Threads
C#
8 years ago
csharp
testing
threading
threadsafe
Example Using ConcurrentQueue and ConcurrentDictionary
C#
9 years ago
concurrentdictionary
concurrentqueue
csharp
parallel
queue
task
threading
tpl
Sends Bulk Emails in Parallel
C#
9 years ago
class
csharp
email
parallel
smtp
threading
Using the BackgroundWorker component
C#
9 years ago
async
backgroundworker
csharp
examples
task
threading
Implementing a Simple ForEachAsync
C#
9 years ago
async
csharp
enumerable
enumerate
extensions
foreach
loop
task
threading
Synchronized Cache
C#
9 years ago
cache
class
csharp
dictionary
threading
threadsafe
«
1
2
3
4
5
6
7
»
More »