Menu

Skip to content
  • Home
  • About
  • Color Coder
Hamid Mosalla
Twitter Email LinkedIn GitHub Stack Overflow RSS

Hamid Mosalla

Programming Adventures

SynchronizationContext

November 25, 2023 by Hamid Mosalla on .Net, .Net Core, Asynchronous And Parallel Programming, Best Practices, C#, Programming

C# Asynchronous and Parallel Programming Best Practices

I’ve already written about Asynchronous and Parallel programming before here and here. This is one of those subjects that can be tricky and is the source of a lot of bugs. But I feel the posts that I’ve written before might be too long or they are too specialized, hence not very approchable. In this … →

 
July 17, 2018 by Hamid Mosalla on .Net, Asynchronous And Parallel Programming, C#

Asynchronous Programming Series

Recently I wrote a series of posts regarding asynchronous programming. You can find the links to this series down below. In these series of posts I started from the definition of concurrency and how it’s different with parallelism. Then I moved on deeper into the subject by each post. My 10th post in this series … →

 
July 9, 2018 by Hamid Mosalla on .Net, Asynchronous And Parallel Programming, C#

Thread Safety

There a lot of things that can go wrong in our code. But when we introduce concurrency or parallelism in our code, we potentially could experience different set of bugs. These are race conditions, deadlocks and data corruption to name a few. This happens because there might be a share piece of data between different … →

 
June 24, 2018 by Hamid Mosalla on .Net, Asynchronous And Parallel Programming, C#

What Is SynchronizationContext

SynchronizationContext is one of those topics that deserves a better understanding if we want to fully know how asynchorony works in .Net. It’s true that most of these concerns handled behind the scene. But we can benefit by understanding what exactly happens when we offload a task to a worker thread or release the thread … →

 

Archives

Categories

 
Subscribe!
Copyright © 2022 Hamid Mosalla
Casper Theme By Lacy Morrow