[Rawstudio-commit] rawspeed r186 - RawSpeed

Anders Brander anders at brander.dk
Thu Jan 14 20:27:56 CET 2010


Author: abrander
Date: 2010-01-14 20:27:56 +0100 (Thu, 14 Jan 2010)
New Revision: 186

Modified:
   RawSpeed/rawstudio-plugin-api.cpp
Log:
Grab Rawstudios io-lock before loading file in Rawstudio plugin.

Modified: RawSpeed/rawstudio-plugin-api.cpp
===================================================================
--- RawSpeed/rawstudio-plugin-api.cpp	2010-01-04 20:15:17 UTC (rev 185)
+++ RawSpeed/rawstudio-plugin-api.cpp	2010-01-14 19:27:56 UTC (rev 186)
@@ -62,7 +62,9 @@
 
 		try
 		{
+			rs_io_lock();
 			m = f.readFile();
+			rs_io_unlock();
 		} catch (FileIOException e) {
 			printf("RawSpeed: IO Error occured:%s\n", e.what());
 			g_timer_destroy(gt);




More information about the Rawstudio-commit mailing list