I think the "lamport's bakery" algorithm is similar to this. There may be subtle differences though, I'm not an expert in locking algorithms...
Copyright © 2018, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds