On 7 November 2014 11:50, Pjotr Svetachov <[email protected]> wrote:

> > I don't know if it will be worth implementing a form of block in the
> object cache to hold back attempts to read the same file whilst it's still
> being loaded.  If the second concurrent load attempt is being done by a
> DatabasePager thread then it'll be safe to block, but this might actually
> be handled by merging/coupling the DatabaseRequest's so that only one load
> happens, but two merges can happen later.  Such coupling would add quite a
> bit of complexity though.
> >
> > Thoughts?
> >
>
> I don't understand what you want to do here? Do you only want to have one
> file loading at a time?
>

No, one could have multiple paging threads but only have one thread able to
load a specific file at a time.

Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to