multi-threading with libjpeg
Posted: 2007-03-21T08:08:53-07:00
we're developing a network app using the Magick++ interface that reads several *.jpg images from disk from multiple separate threads. Even though ImageMagick has been compiled statically with multi-threading support on Win32, we notice when we step through the code that threading is being disabled for JPEGs (libjpeg), so the images are being read from disk in a non-threaded fashion. Is this intentional, or should libjpeg be thread-safe?
perusing the ImageMagick site docs, it seems that the claim is made that ImageMagick is thread-safe with the exception of a few select pixel cache related functions, which we don't use in our code..
Is ImageMagick thread-safe for libjpeg, or is multi-threading disabled because of thread-safety issues with libjpeg?
perusing the ImageMagick site docs, it seems that the claim is made that ImageMagick is thread-safe with the exception of a few select pixel cache related functions, which we don't use in our code..
Is ImageMagick thread-safe for libjpeg, or is multi-threading disabled because of thread-safety issues with libjpeg?