Re: [Lcms-user] cmsCreateTransform is not thread safe

2007-06-08 Thread Kai-Uwe Behrmann
Would you try setting a mutex for cmsOpenProfileFromXXX(). With success this could be a solution for lcms. I would expect the slow part in the computation of the transform, not in data i/o. kind regards Kai-Uwe Behrmann -- developing for colour management www.behrmann.name + www.oyranos.org +

Re: [Lcms-user] cmsCreateTransform is not thread safe

2007-06-07 Thread Marti.Maria
- From: Louis Solomon [SteelBytes] [EMAIL PROTECTED] To: lcms-user lcms-user@lists.sourceforge.net Sent: Tuesday, June 05, 2007 8:13 AM Subject: [Lcms-user] cmsCreateTransform is not thread safe Hi, cmsCreateTransform is not thread safe using 1.16 or 1.17b. Note, using cmsCreate_sRGBProfile

Re: [Lcms-user] cmsCreateTransform is not thread safe

2007-06-07 Thread Louis Solomon [SteelBytes]
Subject: Re: [Lcms-user] cmsCreateTransform is not thread safe Hi Louis, Thanks for the report. Yes, you are right, cmsCreateTransform is not thread safe if the involved profiles are file-based. That is because files are not locked when readed. Currently, only cmsDoTransform() is thread

[Lcms-user] cmsCreateTransform is not thread safe

2007-06-05 Thread Louis Solomon [SteelBytes]
Hi, cmsCreateTransform is not thread safe using 1.16 or 1.17b. Note, using cmsCreate_sRGBProfile() instead of cmsOpenProfileFromFile(AdobeRGB1998.icc,rb) does work, and so does calling the two cmsCreateTransform()'s in succession. Test env: 32bit debug target built with VS2005 on