--
You received this message because you are subscribed to the Google Groups "golang-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-dev+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Actually, how about this: we only forward the synchronous signals: SEGV, FPE, BUS. That should do what we want with minimal disruption.
Ian
What about timer signals? ...
It seems worth a try, but I do expect problems with existing Go programs that link C++ that has constructor initialization invoked by the dynamic loader before the Go binary gets a chance to start. In that case Go currently overrides the C++ handlers, which I think is probably the right thing to do.Perhaps the forwarding could be done only in the shared library mode? It seems likely the runtime would know whether it's the main executable or not.
Russ