I am beginning to lose trust in my ability to code straight.
Nick Sabalausky
a at a.a
Wed Jun 25 11:44:34 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.
>
"I am beginning to lose trust in my ability to code straight."
Friends don't let friends drink and code ;)
More information about the Digitalmars-d
mailing list