K Stol <[EMAIL PROTECTED]> wrote:

> just a thought: aren't shared objects/data/whatever protected by a
> mutex? To me, that's the obvious solution for accessing shared data.
> As I said, just a thought.

They will be protected by a mutex yes. That helps against two threads
updating the same PMC at the same time.

But if one thread sets pmc->next_for_GC the next thread might encounter
this PMC later (albeit for this thread at the first time) and think, I've
visited this PMC already and just flush out the object ID and not the
whole PMC.

> Klaas-Jan

leo

Reply via email to