Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.programming.threads > #4758 > unrolled thread
| Started by | deepthibargav@gmail.com |
|---|---|
| First post | 2018-11-28 21:16 -0800 |
| Last post | 2018-12-07 00:02 +0000 |
| Articles | 2 — 2 participants |
Back to article view | Back to comp.programming.threads
find if two threads are trying to operate on a same mutex? deepthibargav@gmail.com - 2018-11-28 21:16 -0800
Re: find if two threads are trying to operate on a same mutex? Steve Watt <steve.removethis@Watt.COM> - 2018-12-07 00:02 +0000
| From | deepthibargav@gmail.com |
|---|---|
| Date | 2018-11-28 21:16 -0800 |
| Subject | find if two threads are trying to operate on a same mutex? |
| Message-ID | <10ef65a2-d11a-46d8-9cac-cd24c4183f6f@googlegroups.com> |
Hi All, It would be of great help if someone could tell me how to find if two threads are trying to operate on a same mutex? I also want to find the entire communication that happens with respect to locks while the program is being run, I came to know about this forum from some researcher. any inputs will be of immense help. Regards, Deepthi
[toc] | [next] | [standalone]
| From | Steve Watt <steve.removethis@Watt.COM> |
|---|---|
| Date | 2018-12-07 00:02 +0000 |
| Message-ID | <pucdb0$ke2$1@wattres.Watt.COM> |
| In reply to | #4758 |
In article <10ef65a2-d11a-46d8-9cac-cd24c4183f6f@googlegroups.com>, <deepthibargav@gmail.com> wrote: >Hi All, > > >It would be of great help if someone could tell me how to find if two threads are trying to operate on a same mutex? > >I also want to find the entire communication that happens with respect to locks while the program is being run, The search term you're looking for is "mutex contention". The answer depends entirely on your operating environment. Windows? Linux? FreeBSD? MVS? Assuming something UNIX-like, valgrind is your friend. Inside a dog, it's too dark to read. -- Steve Watt KD6GGD PP-ASEL-IA ICBM: 121W 56' 57.5" / 37N 20' 15.3" Internet: steve @ Watt.COM Whois: SW32-ARIN Free time? There's no such thing. It just comes in varying prices...
[toc] | [prev] | [standalone]
Back to top | Article view | comp.programming.threads
csiph-web