From: Vincent T. <vin...@gm...> - 2019-01-02 12:43:39
|
On Wed, Jan 2, 2019 at 12:06 PM Marti <mar...@li...> wrote: > > > Thanks Vicent, > > I am already in contact with Artifex, they told me about their fork. > > Please note lcms already is multi-threading capable, and some critical > functions like cmsDoTransform are re-entrant. By default, it uses pthreads > on everything but windows, that uses critical sections instead. > > Artifex have added a way to pass parameters to each function to identify the > thread, but unfortunately this breaks all compatibility with prior APIs, so > I had to reject the changes on upstream because compatibility sake. The > "normal" lcms is based on contexts. It allows you to change via plug-in's > the locking strategy and the memory allocation. can't you add functions which use their changes ? So just API additions ? Vincent Torri |