Yeah I haven't looked at the implementation yet either. Currently, it's possible to set a core.sync.Mutex as an object monitor. Would this capability be preserved? Someone mentioned a hashtable of monitors... do we really need this? I can see the desire to preserve existing semantics and so a user shouldn't have to explicitly construct a monitor to use synchronized since they don't today, but it should still be possible to do so if the user has some need to.
- Re: Optional monitors suggestion Andrej Mitrovic via Digitalmars-d
- Re: Optional monitors suggesti... Andrei Alexandrescu via Digitalmars-d
- Re: Optional monitors sugg... Yuriy via Digitalmars-d
- Re: Optional monitors sugg... Steven Schveighoffer via Digitalmars-d
- Re: Optional monitors ... Sean Kelly via Digitalmars-d
- Re: Optional monit... Steven Schveighoffer via Digitalmars-d
- Re: Optional monitors suggesti... deadalnix via Digitalmars-d