Ruling out arbitrary cost copy construction?
Sean Kelly
sean at invisibleduck.org
Thu Nov 4 15:40:55 PDT 2010
Sean Kelly Wrote:
> Steven Schveighoffer Wrote:
> >
> > It is quite possible that a thread exits while there are active, non-GC'd
> > objects owned by it in the heap. There's no way to determine this when
> > the thread exits without running a GC collection, which is unacceptable.
>
> Right. But it doesn't matter who finalizes this data, since it won't be competing with the only other thread that actually referenced it.
What I meant was that it won't be competing with the owner of any unshared data referenced by this object, since that thread has terminated.
More information about the Digitalmars-d
mailing list