I track the c strace/ h process ltracein the hope of finding and intercepting a call that checks and potentially activates some kind of global shared lock.
While I was considering and reading about several forms of interprocess blocking on Linux, I draw a space in what to look for.
At present, my only suspect is futex()that appears very early in the execution process.
Update0
There is some confusion about what I need. I keep track of an existing process for persistent interprocess memory calls or equivalent. I would like to know what system and library calls to look for. I am not going to call them myself, so it futex()will naturally appear, I am sure that many libraries will implement their blocking calls in terms of this, etc.
Update1
I need a list of function names or a link to documentation that I have to keep track of at ltraceand strace(and by pointing). Any other helpful tips on how to track and find a global lock in your mind would be great.