Re: [Gc]: Request: get signum for resume?

Ivan Maidanski ivmai at
Thu Dec 15 07:24:09 PST 2011

Hi Jan,

Sure. Please prepare a patch (against master branch in Git repo).


15 12 2011, 17:37 Jan Wielemaker <J.Wielemaker at>:
> Hi,
> Just making SWI-Prolog run under bwdgc wasn't too hard! I ran against
> one glitch that can easily be fixed. It turns out the application should
> not play with the collector's signals. Well, that is documented and not
> a surprise. Prolog however catches most signals to generate a Prolog
> exception.
> I found GC_get_suspend_signal(), which gives me a nice portable way to
> leave that one unmodified, but I must do the same with SIGXCPU (test
> platform is Linux) and reading the source indicates there is no
> 	GC_get_resume_signal()
> Could this be added?
> 	Thanks --- Jan
> P.s.	Time for extensive testing and evaluation of memory usage and
> 	performance.  I'm very curious.  If it works out I can ditch
> 	a lot of code :-)
> _______________________________________________
> Gc mailing list
> Gc at

More information about the Gc mailing list