Quantcast
Channel: Azure cache getoradd (without locking) - Code Review Stack Exchange
Browsing latest articles
Browse All 3 View Live

Answer by svick for Azure cache getoradd (without locking)

// Two concurrent callers tried to get it, and this thread// happened to be deadlock victim.This is inaccurate. The situation that can happen here is a race condition, but not a deadlock (i.e. two...

View Article



Answer by hangy for Azure cache getoradd (without locking)

I do not have an Azure account, so I cannot test this, but does this work in general? The linked question uses a MemoryCache which is in-memory and probably references the added objects directly. As...

View Article

Azure cache getoradd (without locking)

Inspired by the non-locking implementation proposed in this post, the following code is an attempt to (about) do the same using the azure cache. As I'm totally green on the Azure cache I'd appreciate...

View Article
Browsing latest articles
Browse All 3 View Live




Latest Images