MAGICK_THREAD_LIMIT for multiple ImageMagick commands

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
pwnedd
Posts: 35
Joined: 2008-09-03T13:03:57-07:00

MAGICK_THREAD_LIMIT for multiple ImageMagick commands

Post by pwnedd »

Hello,

When running multiple ImageMagick commands simultaneously, would the effect of setting MAGICK_THREAD_LIMIT limit each command individually? Or would all of the commands *together* use no more than MAGICK_THREAD_LIMIT threads?

Thanks
Last edited by pwnedd on 2015-12-26T08:37:59-07:00, edited 1 time in total.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: MAGICK_THREAD_LIMIT for multiple ImageMagick commands

Post by magick »

MAGICK_THREAD_LIMIT affects each command individually. You can set a system wide thread limit in policy.xml but it still only affects each command individually, not collectively.
pwnedd
Posts: 35
Joined: 2008-09-03T13:03:57-07:00

Re: MAGICK_THREAD_LIMIT for multiple ImageMagick commands

Post by pwnedd »

Got it. Thanks for the clarification.
Post Reply