Comments (4)
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.
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.
@shunter Can this be closed?
from czml-writer.
I think so, yes. CachingCesiumUrlResolver
is not intended for use from multiple simultaneous threads.
from czml-writer.
Related Issues (20)
- Ability to write an interval with a property HOT 1
- Maven Artifacts for Java HOT 4
- multi polygon in same packet HOT 2
- 403错误,怎么配置User-Agent HOT 2
- How to create a simple satellite trajectory
- Update to Csharp libraries to .Net Standard/Core HOT 1
- quick start fail HOT 1
- leadTime and trailTime documentation - default is not unlimited? HOT 1
- Document PolylineVolume HOT 3
- PolylineArrowMaterial documentation is wrong HOT 1
- viewsheds for sensors in cesium-analytics HOT 1
- how to use czml-writer??? HOT 1
- czml zip archives HOT 2
- How does one Interpolate a Polyline HOT 2
- tow questions about label and ranrectangle HOT 3
- How to use ConicSensor? HOT 1
- multiple interval HOT 1
- so many years.........Can we use heading pitch roll in czml now? HOT 1
- Upgrade from .NET Framework to .NET HOT 2
- The interval property is not documented for the CZML Clock object
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from czml-writer.