hi all,
Why process like GetImageEncoder() and GetImageDecoder() need to be mutex protected if no thread_support?
Question about thread support
Re: Question about thread support
Assume a user program that reads multiple jpeg images, each in a different thread. The JPEG library does not support threading, so ImageMagick must ensure only one of these threads access the JPEG library at a time. Without the mutex, it is possible that multiple instances of the JPEG library will run in parallel causing an unknown run-time exception.
Re: Question about thread support
thank you magick.