About 17,300,000 results
Open links in new tab
  1. multithreading - What is a deadlock? - Stack Overflow

    Aug 29, 2008 · A deadlock is a state of a system in which no single process/thread is capable of executing an action. As mentioned by others, a deadlock is typically the result of a situation where …

  2. What is a deadlock in a database? - Stack Overflow

    May 5, 2010 · What is a deadlock in SQL Server and when it arises? What are the issues with deadlock and how to resolve it?

  3. What's the difference between deadlock and livelock?

    May 27, 2011 · Can somebody please explain with examples (of code) what is the difference between deadlock and livelock?

  4. What are common reasons for deadlocks? - Stack Overflow

    Nov 9, 2015 · 0 Deadlock occurs mainly when there are multiple dependent locks exist. In a thread and another thread tries to lock the mutex in reverse order occurs. One should pay attention to use a …

  5. An async/await example that causes a deadlock - Stack Overflow

    An example of this is the Windows UI thread or the ASP.NET request context. In these single-threaded synchronization contexts, it’s easy to deadlock yourself. If you spawn off a task from a single …

  6. Why do deadlocks happen in SQL Server? - Stack Overflow

    Jul 21, 2011 · The SQL Server "randomly" picks one of the queries to deadlock out of the resources asked for and fails it out, throwing an exception. I have an app running ~ 40 instances and a back …

  7. multithreading - Simple Deadlock Examples - Stack Overflow

    Sep 6, 2009 · I would like to explain threading deadlocks to newbies. I have seen many examples for deadlocks in the past, some using code and some using illustrations (like the famous 4 cars). There …

  8. Difference between racearound condition and deadlock

    Oct 15, 2013 · What is the difference between a dead lock and a race around condition in programming terms?

  9. How to catch SqlException caused by deadlock? - Stack Overflow

    A deadlock detected by the database will effectively rollback the transaction in which you were running (if any), while the connection is kept open in .NET. Retrying that operation (in that same connection), …

  10. c# - await vs Task.Wait - Deadlock? - Stack Overflow

    Oct 30, 2012 · On my blog, I go into the details of how blocking in asynchronous code causes deadlock. await will asynchronously wait until the task completes. This means the current method is "paused" …