A monitor for every object

"Jérôme M. Berger" jeberger at free.fr
Fri Feb 4 14:23:35 PST 2011


Steven Schveighoffer wrote:
> D's monitors are lazily created, so there should be no issue with
> resource allocation. 
	What happens if two threads attempt to create a monitor for the
same object at the same time? Is there a global lock to avoid race
conditions in this case?

		Jerome
-- 
mailto:jeberger at free.fr
http://jeberger.free.fr
Jabber: jeberger at jabber.fr

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: OpenPGP digital signature
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20110204/5a167dc0/attachment.pgp>


More information about the Digitalmars-d mailing list