Hi, I am looking into the imagemagick c++ API. Magick++ documentation recommends automatic Image variables (i.e. allocated on the stack, via declaration of local variables) as the prefered way of creating Image objects, instead of explicit allocation (via 'new').
I am planning the use threads and to pass these object between the threads. the "preference" above worries me... I would like to pass images pointers, put them in linked queues, sort them ...... for instance if thread A want to pass an image to thread B and then A terminates (and B proceeds the image), I see a problem if the image should be on A's stack How should these kind of things be done? Any know axemples? Thanks for helping, /Christophe milard. _______________________________________________ Magick-users mailing list [email protected] http://studio.imagemagick.org/mailman/listinfo/magick-users
