----- Original Message ----
> From: Sean Kelly <[email protected]>
> 
> On Apr 28, 2010, at 1:25 PM, Andrei Alexandrescu wrote:
> It's not hard to write a segfault handler that 
> does this, but it involves doing technically illegal stuff in a signal 
> handler 
> (either IO or throwing an exception) so I don't want to make it a built-in 
> feature.

syscalls are always legal because syscalls exit when signals occur 
(technically, they aren't even calls, they are software interrupts).  In other 
words, printf is illegal, write is not.

-Steve



      
_______________________________________________
dmd-internals mailing list
[email protected]
http://lists.puremagic.com/mailman/listinfo/dmd-internals

Reply via email to