Re: graphicsmagick signal handler problem
yzh杨振宏 <[email protected]>
| Newsgroups | gmane.comp.video.graphicsmagick.help |
|---|---|
| Message-ID | <7354BE8391D7C34B9384A115F0B5444A20A6207F@SVR2115HP380.cn1.global.ctrip.com> |
Handling SA_ONSTACK smarter is sufficient to solve our problem. I will help you test when the feature is committed to Mercurial Repository. Besides, I wonder why GraphicsMagick not maintain a repo on github? It's a bit difficult to contribute to the project and ask for help now. -----邮件原件----- 发件人: Bob Friesenhahn [mailto:[email protected]] 发送时间: 2018年3月9日 5:33 收件人: Requests for help with GraphicsMagick <[email protected]> 主题: Re: [GM-help] graphicsmagick signal handler problem 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/93b707b4a5882ab3d7f890 > 4984684846fe178a97/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