Hello!
I have a multi-threaded Perl script that is experiencing lock contention issues. Is it possible to get the current lock owner somehow? This way I could debug which of my threads holds the locks most of the time.
BTW, my script is well-designed in the way that only very short passages of code are protected by locks. These passages typically push items onto an array and take them from there. I use multiple locks where-ever possible.
In reply to Debugging lock ownership by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |