Top "Deadlock" questions

Situation where two (or more) operations need overlapping sets of resources, and neither can complete because they cannot obtain all locks necessary to complete an operation and release their locks.

SQL Server Deadlock Fix: Force join order, or automatically retry?

i have a stored procedure that performs a join of TableB to TableA: SELECT <--- Nested <--- TableA …

sql-server error-handling sql-server-2000 deadlock database-deadlocks
Need to avoid subprocess deadlock without communicate

I need a execute a command that produces a lot of output and takes a lot of time to execute (&…

python subprocess pipe stdout deadlock
Deadlock when accessing StackExchange.Redis

I'm running into a deadlock situation when calling StackExchange.Redis. I don't know exactly what is going on, which is …

c# asynchronous deadlock stackexchange.redis
Does Peterson's algorithm satisfy starvation?

I've been searching information on Peterson's algorithm but have come across references stating it does not satisfy starvation but only …

algorithm deadlock solution
Java thread blocks while registering channel with selector while select() is called. What to do?

I have a basic question. Why and how SelectableChannel's register method can be in blocking call. Let me provide a …

java multithreading deadlock nio
Is it possible to create a deadlock with read-only access?

I have a VB6 application accessing a single table on a MSSQL2000 server via ADO. I'm using read-only access (adOpenStatic, …

sql-server ado rdbms deadlock
MySQL Innodb Deadlock - how to remove old event?

My monitoring tool, Zenoss, is reporting a 'LATEST DETECTED DEADLOCK' event from a MySQL Innodb engine. When I run 'show …

mysql innodb deadlock alarm zenoss
Can calling WSAStartup() from several threads cause a deadlock?

I'm developing an app that has one TCP server and several UDP servers/listeners. Each server is a separate thread, …

c++ multithreading deadlock wsastartup windows-socket-api
When is it appropriate to use NOLOCK?

I am having timeout issues and deadlocks from time to time with some long running queries. I'm wondering when is …

sql sql-server-2005 deadlock nolock
How to debug a rare deadlock?

I'm trying to debug a custom thread pool implementation that has rarely deadlocks. So I cannot use a debugger like …

c++ multithreading c++11 threadpool deadlock