On Wed, 20 Jan 2016 22:37:07 +0800 Ben Coman btc@openinworld.com wrote:
On Tue, Jan 19, 2016 at 12:06 AM, KenD Ken.Dickey@whidbey.com wrote:
..
Perhaps better to think of an "access permission" than a "lock"
uniqueAccess acquire
Maybe. Except when I think of uniqueXXX what comes to mind is the Singleton pattern.
Well, a semaphore is not a "lock". One does not have to use it.
Given that the intended usage is a unique semaphore per resource, one wishes to acquire a unique access permission to the resource.
resourceGuardAccessPermission seems a bit long to me.
Perhaps a unique spelling: uniqAccess acquire ?
For clarity, what are your suggestions?