Author: post
Date: 2012-03-28 16:47:37 +0200 (Wed, 28 Mar 2012)
New Revision: 4170

Modified:
   trunk/librawstudio/rs-io-job-prefetch.c
Log:
Less agressive prefetcher

Modified: trunk/librawstudio/rs-io-job-prefetch.c
===================================================================
--- trunk/librawstudio/rs-io-job-prefetch.c     2012-03-28 14:04:44 UTC (rev 
4169)
+++ trunk/librawstudio/rs-io-job-prefetch.c     2012-03-28 14:47:37 UTC (rev 
4170)
@@ -60,6 +60,8 @@
                                readahead(fd, bytes_read, length);
                                bytes_read += length;
                                rs_io_unlock();
+                               // Sleep 5ms
+                               g_usleep(5000);
                        }
 #else
                        gchar *tmp = g_new(gchar, st.st_size);


_______________________________________________
Rawstudio-commit mailing list
[email protected]
http://rawstudio.org/cgi-bin/mailman/listinfo/rawstudio-commit

Reply via email to