Karlis Peisenieks wrote:

> Does anything special happens if process forks in signal handler?

At the application level, there shouldn't be any problems; Stevens
lists fork() as being safe to call from within a signal handler.

> As far as I know, signals are executed in different context with
> different stack, so chind process will get copy of global data and
> copy of signal stack???

The child will need any signal context, as it will still be in a
signal handler after the fork.

-- 
Glynn Clements <[EMAIL PROTECTED]>

Reply via email to