Axiomatic validation of memory barriers and atomic instructions
Axiomatic validation of memory barriers and atomic instructions
Posted Aug 26, 2014 8:22 UTC (Tue) by jzbiciak (guest, #5246)In reply to: Axiomatic validation of memory barriers and atomic instructions by jzbiciak
Parent article: Axiomatic validation of memory barriers and atomic instructions
Minor clarification. On this point:
the execution time of "unconditional lock acquisition" can not be bounded
I'd like to add "... on the basis of the inputs to the lock acquisition API alone."
Basically, I was trying to capture the idea that if some code tries to take a lock unconditionally, the lock-taker's execution time is almost entirely at the mercy of the lock holder regardless of how clever the lock-taker's algorithms are. You cannot progress until the lock holder releases the lock.
And, of course, if multiple threads try to take the lock simultaneously, other threads may win ahead of this one, so the identity of "lock holder" may change during the process of attempting to acquire the lock. I don't think that changes the idea I'm attempting to express.
Stating these ideas precisely is simultaneously necessary and difficult. :-)
