Giter Club home page Giter Club logo

Comments (4)

shunter avatar shunter commented on June 14, 2024

Your fix may just be hiding a bigger threading problem. Instances of CachingCesiumUrlResolver are definitely not thread-safe, and cannot be used across threads. Instead, each thread should obtain its own instance, using CachingCesiumUrlResolver.getThreadLocalInstance().

Can you provide more detail about the exception you're getting?

from czml-writer.

jontours avatar jontours commented on June 14, 2024

Hey Scott,

Yeah I guess a fix was the wrong word to use. I can't provide the
exception until I get to work tomorrow. But what I can say is that
getThreadLocalInstance() is never called. I noticed that method was there,
but I wasn't sure if we were supposed to call that directly or not. As all
we do is repeatedly call writeImage when we are writing out our billboards.
I'll provide the stack trace tomorrow.

-Jon

On Mon, Jun 24, 2013 at 5:15 PM, Scott Hunter [email protected]:

Your fix may just be hiding a bigger threading problem. Instances of
CachingCesiumUrlResolver are definitely not thread-safe, and cannot be
used across threads. Instead, each thread should obtain its own instance,
using CachingCesiumUrlResolver.getThreadLocalInstance().

Can you provide more detail about the exception you're getting?


Reply to this email directly or view it on GitHubhttps://github.com//issues/53#issuecomment-19936439
.

from czml-writer.

mramato avatar mramato commented on June 14, 2024

@shunter Can this be closed?

from czml-writer.

shunter avatar shunter commented on June 14, 2024

I think so, yes. CachingCesiumUrlResolver is not intended for use from multiple simultaneous threads.

from czml-writer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.