Synchronization with async/await

Do you always want to block whole thread waiting for some resources? Probably not. Why not benefit from async/await constructs available in .NET 4.5? But you cannot simply await for ManualResetEvent or Semaphore. Here comes great series of posts by Stephen Toub on how to implement async-enabled synchronization mechanisms.

It starts with ManualResetEvent, and then continuous for total of 7 blog posts. Must-read for all async/await fans out there.

Just start from and move forward.

Have fun!


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s