Andrea Aime ha scritto:
> Simone Giannecchini ha scritto:
>> I am a bit worried about trying to kill the rendering loop when native
>> libs for doing I/O on coverages and ad a Java2D call to
>> drawRenderedImage with a deferred loaded raster are involved.
>> We might be trying to kill a java thread while it is inside native
>> code doing I/O. Seeing a JVM crash would be not that unusual. Have you
>> thought about this?
> 
> I'm not playing with threads, the ability to kill a thread
> is deprecated anyways. But I'm disposition the Graphics2D
> while rendering is going.
> The JAI native code might be using it, so that might
> cause issues. I'll double check.
> Can you suggest a better way to stop coverage rendering
> mid-flight? In the end what the coverage renderer
> does, is to setup a JAI processing chain, and the chain
> is set in motion by a single, atomic call to the
> graphic context. How do you stop it?

Oh btw, I've posted a (working I hope) patch on
http://jira.codehaus.org/browse/GEOS-3086
If you could apply it on 1.7.x and check it
with one of your big raster dataset it would
be much appreciated.

Cheers
Andrea

-- 
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.

------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to