From: Marti <mar...@li...> - 2019-01-02 11:20:39
|
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. Regards Marti -----Original Message----- From: Vincent Torri [mailto:vin...@gm...] Sent: Wednesday, January 2, 2019 9:08 AM To: Lcm...@li... Subject: [Lcms-user] multi threaded fork Hello i've seen this mupdf/ghostsciprt fork which adds multi threading : http://git.ghostscript.com/?p=thirdparty-lcms2.git;a=commitdiff;h=c9f2256ff2 479a219a5b3521c57b5adeded0d6ac in case it interests you regards Vincent Torri _______________________________________________ Lcms-user mailing list Lcm...@li... https://lists.sourceforge.net/lists/listinfo/lcms-user |