MagickWandGenesis/MagickWandTerminus and threads

Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
Locked
ZeroAltitude

MagickWandGenesis/MagickWandTerminus and threads

Post by ZeroAltitude »

I'm running ImageMagick in a threaded apache environment. In looking through the forums, I believe I have discovered that you need only call MagickWandGenesis when the *process hosting the threads* starts, and you need only call MagickWandTerminus when the *process hosting the threads* stops.

Is this correct?

-0

User avatar
magick
Site Admin
Posts: 11254
Joined: 2003-05-31T11:32:55-07:00

Re: MagickWandGenesis/MagickWandTerminus and threads

Post by magick »

Right. Call MagickWandGenesis() before you fire any threads and MagickWandTerminus() after the threads complete.

Locked