[Vm-dev] Where to get Monitor implementation based on primitives?
KenD
Ken.Dickey at Whidbey.com
Wed Jan 20 16:39:20 UTC 2016
On Wed, 20 Jan 2016 22:37:07 +0800
Ben Coman <btc at openinworld.com> wrote:
>
> On Tue, Jan 19, 2016 at 12:06 AM, KenD <Ken.Dickey at 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?
--
-KenD
More information about the Vm-dev
mailing list