I was about to start writing a tag wiki for the lock tag in the sense of a mechanism to prevent concurrent access to resources or to synchronize threads when I realized that the tag usage has now proliferated to cover questions concerning
- preventing concurrent access to a shared resource, e.g. via lockfiles and the like
- locking access to an unattended computer (where screen-lock seems more appropriate)
- situation in which a computer or program becomes unresponsive (where freeze or hang seem more appropriate - and I actually propose to consider these two synonyms of each other)
The question is: what should we do about this tag?
I see the following options:
- Enforcing use for one of the three most common uses, where the meaning of access serialization or thread synchronization seems to be the most appropriate. Questions that use the tag in a different way need to be re-tagged when encountered. This is the cleanest, but also the most tedious.
- Defining the scope of the tag to apply to all of the disjoint subjects mentioned above, and leave the questions as they are. This is the easiest (since "nothing" needs to be done), but doesn't help in categorizing questions.
- A hybrid approach, where the scope of the tag encompasses the two most common use-cases. All other uses are discouraged, and those questions that still fall outside need to be re-tagged if found.