Could you make it a daemon thread ? Michael
On 23 January 2013 20:57, Ákos Maróy <[email protected]> wrote: > On 23/01/13 10:34, Andrea Aime wrote: >> >> The thing is, you cannot kill a thread in java, it has to die on its own >> (the method that supposedly does it is deprecated and afaik does nothing). >> >> Normally this is done by either raising a flag that will make the >> code just stop, or by poisoning its environment so that the code stumbles >> into an exception and is forced to give up >> > you're right - to implement it this way, the rendering process would > have to be changed to look for a 'stop request' within the infinite loop :) > ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d _______________________________________________ GeoTools-Devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-devel
