Tag Archives: mutex

Enforcing Mutex On A SQL Server Database – Part 2

In May I wrote about how application-level mutual exclusivity could easily be implemented on SQL Server by using sp_getapplock and sp_releaseapplock: sp_getapplock tries to get a lock and returns one of a possible set of values which indicate various forms … Continue reading

Posted in .Net, Microsoft SQL Server, Visual C# | Tagged , , , | Leave a comment

Enforcing Mutex On A SQL Server Database

I’ve been working on a project which involved several different components. These components had the potential to interact with a SQL Server database at the same time and  I had to come up with a way of ensuring that each … Continue reading

Posted in Microsoft SQL Server, Visual C# | Tagged , , | 3 Comments