diff src/image-load.h @ 1015:2cdcf67e9300

run image loader in separate thread this feature is disabled by default for now, it must be enabled by configure --enable-threads
author nadvornik
date Sat, 30 Aug 2008 20:15:47 +0000
parents 4d3c98219246
children 988995f6b1cf
line wrap: on
line diff
--- a/src/image-load.h	Sat Aug 30 13:04:06 2008 +0000
+++ b/src/image-load.h	Sat Aug 30 20:15:47 2008 +0000
@@ -45,6 +45,10 @@
 
 	gint idle_done_id;
 	GList *area_param_list;
+	
+	GThread *thread;
+	GMutex *data_mutex;
+	gint stopping;
 
 	guchar *mapped_file;
 	gint read_buffer_size;