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 + www.cinepaint.org


Am 08.06.07, 11:28 +1000 schrieb Louis Solomon [SteelBytes]:

> > not thread safe if the involved profiles are file-based
> 
> it still crashes if I use USE_PTHREADS and cmsOpenProfileFromMem()
> 
> my reason for wanting to do this, is that cmsCreateTransform() can be quite 
> slow (as much as 1sec), and I often want to make multiple transforms.
> 
> note, if I use cmsCreate_sRGBProfile() instead of cmsOpenProfileFromXXX(), 
> it doesn't crash
> 
> Louis Solomon
> www.SteelBytes.com


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Lcms-user mailing list
Lcms-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lcms-user

Reply via email to