I am beginning to lose trust in my ability to code straight.

Jarrett Billingsley kb3ctd2 at yahoo.com
Wed Jun 25 20:20:30 PDT 2008


"downs" <default_357-line at yahoo.de> wrote in message 
news:g3tud7$h3r$1 at digitalmars.com...
> Aaaand another one!
>
> This time, it's a race condition.
>
> When two threads try to removeRange at the same time, the position of a 
> Range might change before the lock is engaged.
>
> Fixed by passing the index by reference until inside the sync block.
>

Downs I think it's neat!

/me supports downs' delicate ego. 





More information about the Digitalmars-d mailing list