Catching signals with D

Alex Rønne Petersen xtzgzorex at
Fri Dec 23 04:26:37 PST 2011

On 22-12-2011 23:51, Matej Nanut wrote:
> Hello everyone, I've been fascinated by D lately and have been using it
> for all
> 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 best
> result. Is there a better way to interrupt my program?
> Thanks!
> Matej
> P.s. I hope I sent this to the appropriate address. :)


Have you seen: 

- Alex

More information about the Digitalmars-d-learn mailing list