473,569 Members | 2,764 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

syncblk in SOS 2.0

I've been trying to get my hands around the version of SOS that ships with
framework 2.0. I wrote a sample app to create the classic deadlock
situation. When I run syncblk, I get told which locks a threads is holding,
but nothing about which lock they're waiting on. The help for syncblk says
unassemble some code to determine which lock is being waited on, but the
details are lacking. I would expect to see the address of the lock being
waited on, or the sync block address, in the unassembled code, but I don't.

So, for the classic deadlock and the 2.0 SOS, how can you tell which lock a
thread is waiting on?

Thanks,
--
David Douglass
MCSD for Microsoft .NET
Feb 22 '06 #1
1 2065
Hello, David!

Take a look at my answer on your post at microsoft.publi c.dotnet.framew ork.clr
--
Regards, Vadym Stetsyak
www: http://vadmyst.blogspot.com
Feb 23 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
3139
by: Olie | last post by:
How do you determine the owning thread of a lock in debug and Visual Studio. This is easy to do in c++ because the critical section has a member variable with the thread ID. I have not found any way to do this in C#. The closest I have found is SyncBlk but this seems a bit complicated and lengthy to get this simple information. There must...
2
5514
by: johnxhc | last post by:
I am trying to use sos extension but almost half of the sos command do not work, for example 0:027!findtable No export findtable found 0:027!bpmd No export bpmd found 0:027!GCHandleLeaks No export GCHandleLeaks found
0
7921
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
1
7666
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
6278
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5504
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5217
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3651
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3636
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1208
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
936
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.