Deadlock from hell
Thread 1:
lock (a)
{
lock (b)
{
lock (c)
{
//some code
}}
}
Thread 2:
lock (d)
{
lock (c)
{
lock (b)
{
//some code
}}
}
Main thread:
lock (a)
{
//important code
}
Category: Uncategorized
The Number One Visual Studio 2009 Weblog on the Web
Thread 1:
lock (a)
{
lock (b)
{
lock (c)
{
//some code
}}
}
Thread 2:
lock (d)
{
lock (c)
{
lock (b)
{
//some code
}}
}
Main thread:
lock (a)
{
//important code
}
Category: Uncategorized