Re: graphicsmagick signal handler problem
Bob Friesenhahn <[email protected]>
| Newsgroups | gmane.comp.video.graphicsmagick.help |
|---|---|
| Message-ID | <[email protected]> |
On Tue, 6 Mar 2018, yzh卯帽潞锚 wrote: > Hi, > I write to confirm whether GraphicsMagick can officially disable establishing signal handlers for library users in InitializeMagick. ImageMagick already disable it in MagickWandGenesis. See https://github.com/ImageMagick/ImageMagick/blob/93b707b4a5882ab3d7f8904984684846fe178a97/MagickWand/magick-wand.c I can make the existing handling a bit smarter about SA_ONSTACK but making the change the way you suggest would be an API and ABI change so it might not be easily done. Perhaps a global variable could be used to avoid breaking the ABI but then it would add an unpleasant global variable to the ABI. Another way to do it would be to add some functions which could be called before InitializeMagick() in order to influence options used. Bob -- Bob Friesenhahn [email protected], http://www.simplesystems.org/users/bfriesen/ GraphicsMagick Maintainer, http://www.GraphicsMagick.org/ ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Graphicsmagick-help mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/graphicsmagick-help