Patching druntime to use different signals beside SIGUSR1/SIGUSR2?

Logan Capaldo via Digitalmars-d digitalmars-d at puremagic.com
Sun Jul 13 07:42:32 PDT 2014


On Thursday, 10 July 2014 at 20:20:41 UTC, Sean Kelly wrote:
> Not currently.  Mostly because you're the first person to run
> into this issue (or at least to ask about it, as far as I can
> recall).  Using signals for collection at all is a real sore
> point for me--I think it's a terrible but necessary hack--so any
> improvements that can be made regarding this are welcome.

I opened a pull request, 
https://github.com/D-Programming-Language/druntime/pull/888. I am 
eager for any feedback. I ended up not having a thread_init2 sort 
of function as typically in this cases thread_init is going to be 
called indirectly via rt_init, and I didn't want to introduce 
several layers of XXXX2 functions to pass the parameters all the 
way down. If it is thought that is a better approach after all I 
am of course open to maing those changes.

Thanks.



More information about the Digitalmars-d mailing list