[Vm-dev] Where to get Monitor implementation based on primitives?

Denis Kudriashov dionisiydk at gmail.com
Mon Jan 18 10:22:15 UTC 2016


2016-01-17 19:10 GMT+01:00 Ben Coman <btc at openinworld.com>:

> I find LockOwnership a bit cumbersome.  I guess you don't want just
> Lock but to include the sense of ownership.  Would you consider one of
> these...
> * Locker   "A person or thing that does an action indicated by the
> root verb" [1]
> * Lockee   "Less commonly added to verbs to form words meaning a
> person or thing that is the subject of that verb (ie, who or that does
> an action), especially where a passive sense of the verb is implied."
> [2]
> * OwnLock
> * OwnedLock
>

To choose better class name we should take into account how we will use it.
Could you suggest names for #acquire and #release in context of your class
name?
("locker acquire" is not good)

If people think that simple Lock is good for this purpose we can use it.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20160118/67cd578f/attachment.htm


More information about the Vm-dev mailing list