Solving issue 1684: "thumbnail.cc uses Glib::Mutex recusively" ; this changeset introduce a new MyMutex and MyMutex::MyLock class that has to be used instead of Glib ones
This commit is contained in:
@@ -28,6 +28,7 @@
|
||||
#include "color.h"
|
||||
#include "iimage.h"
|
||||
#include "../rtgui/cacheimagedata.h"
|
||||
#include "../rtgui/threadutils.h"
|
||||
|
||||
#define HR_SCALE 2
|
||||
|
||||
@@ -68,7 +69,7 @@ class RawImageSource : public ImageSource {
|
||||
static void colorSpaceConversion (Imagefloat* im, ColorManagementParams &cmp, float rawWhitePoint, cmsHPROFILE embedded, cmsHPROFILE camprofile, double cam[3][3], const std::string &camName);
|
||||
|
||||
protected:
|
||||
Glib::Mutex getImageMutex; // locks getImage
|
||||
MyMutex getImageMutex; // locks getImage
|
||||
|
||||
int W, H;
|
||||
ColorTemp wb;
|
||||
|
Reference in New Issue
Block a user