Am 20.10.2010 17:02, schrieb David Kantrowitz: > I'm trying out LCMS2 for a project. So far it's working nicely but I'd > like to speed up the application of a transform. My question is this: > Is it safe to create a single transform on the main thread and apply > it (via DoTransform) on multiple threads running concurrently? I'm > creating the transform with CreateMultiprofileTransform. > > If so, are there any settings I must use, such as #defines, to make > the operation thread-safe? > Basical it works. I see sometimes artifacts together with OpenMP. > If that cannot be done, and I have to have separate transforms for > each thread, what about the creation of the transforms? Can I do that > concurrently on separate threads, or is CreateMultiprofileTransform > also not thread-safe? If it is thread-safe, is there a performance > gain from doing so, or am I better off creating them sequentially on > one thread? > The advantage would be in place, but I had much trouble while using it. Not sure if that points to a bug in lcms2 > Finally, if there is the ability to create the transforms > concurrently, do they _have_ to be created on the threads that use > them? And is there an advantage to setting a core affinity for each > one, or does that not matter? > kind regards Kai-Uwe Behrmann
------------------------------------------------------------------------------ Nokia and AT&T present the 2010 Calling All Innovators-North America contest Create new apps & games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev _______________________________________________ Lcms-user mailing list Lcms-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lcms-user