On Tuesday, October 01, 2013 22:16:04 Maxim Fomin wrote: > Druntime can catch SIGINT and throw the exception. This means > that D runtime can be easily broken by silly C code which uses > its own signal handlers. I didn't tested, but believe this is > already the case with respect to SIGUSR1 and SIGUSR2 which are > used by druntime, so any simple code hijacking the signals can > break runtime. Linux signals handlers as error mechanism is a > complete disaster.
As I understand it, the problem is that there isn't really another mechanism to do what druntime is using signals for. So, we're between a bit of a rock and a hard place. Ideally though, we would find a way to do it without using signals. - Jonathan M Davis