Hi,

2009/4/4 Jocelyn Jaubert <jocelyn.jaub...@gmail.com>:
>  * replace glib g_thread by g_thread_pool, so that we can count and
>   limit how many download threads we have. The aim was to correctly
>   exit all download threads and erase the temporary files.
> http://github.com/jocelynj/viking/commit/bf59948fa285b3cd02c69e4988c422ecf96243f7
>
>  * then, the addition of g_thread_pool and libcurl modification leads
>   to a new patch, that makes libcurl periodically checks if it needs
>   to stop the download, and stop the download if viking want to quit.
>   Then all the temporary files will be naturally erased.
> http://github.com/jocelynj/viking/commit/bc4b88e9b8f12cbe85ab469c6bbf5b43b1c05d5d
> http://github.com/jocelynj/viking/commit/025377659e20c1b529d4b888e07c3037a14a9b76
>
> If necessary, we could check when starting the download if the
> temporary file is older than 1 or 2 days to erase it, but I didn't make
> this modification as viking is not expected to crash during a
> download :)
> This modification is easy to make if anybody request it.

I cherry picked these patches on a topic branch and then merge them with master.

-- 
Guilhem BONNEFILLE
-=- JID: gu...@im.apinc.org MSN: guilhem_bonnefi...@hotmail.com
-=- mailto:guilhem.bonnefi...@gmail.com
-=- http://nathguil.free.fr/

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Viking-devel mailing list
Viking-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/viking-devel
Viking home page: http://viking.sf.net/

Reply via email to