Each process belongs to an application. Every Appx session has a list of application locks that are in use by that session. When you start a process in a locked application, Appx checks to see if the lock is already in use by this session. If so, the usage count in incremented - if not, the lock is added (if possible) and the usage count is set to 1.
When you run the first process in a locked application, Appx acquires a USAGE (this means that you are using 1 user right from that product registration). When you run the second, third, fourth, etc. processes in that application, you don't count as 2, 3, 4, etc. users - just a single user.
When you end ALL processes in the locked application, it decrements the usage count for the appropriate lock. If the usage count for a lock goes to zero, the lock is forfeited, and therefore the overall user count for that lock is decremented. (You are no longer counting against the user rights for that product registration)
|