Question about std.bind

Russel Winder russel at russel.org.uk
Sun Nov 14 01:20:10 PST 2010


Dmitry, you are a hero, thanks muchly :-))

On Sun, 2010-11-14 at 02:37 +0300, Dmitry Olshansky wrote:
[ . . . ]
> >          shared Object sumMutex ;
> Ah, another guess - you didn't initialize that sumMutex ?
> Then put this somewhere before using it:
> 
> sumMutex = new shared(Object);

I managed to delete the line from my code and didn't notice it.

Moral of story:  read your code, don't assume you know what it says when
you look at it.

Thanks again.

std.bind.bind is still broken though, but I have an example that now
works.
 
-- 
Russel.
=============================================================================
Dr Russel Winder      t: +44 20 7585 2200   voip: sip:russel.winder at ekiga.net
41 Buckmaster Road    m: +44 7770 465 077   xmpp: russel at russel.org.uk
London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20101114/4ddd0d5a/attachment.pgp>


More information about the Digitalmars-d mailing list