Catching signals with D

Matej Nanut matejnanut at
Thu Dec 22 14:51:11 PST 2011

Hello everyone, I've been fascinated by D lately and have been using it for
my school assignments (like simple ray casting and simulated annealing).

What I can't find anywhere is how to do something like
"signal(SIGINT, myhandler)" (I'm in a Linux environment).

I need this to stop the annealing process early but still keep the current
result. Is there a better way to interrupt my program?


P.s. I hope I sent this to the appropriate address. :)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Digitalmars-d-learn mailing list