Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Blocking child signals



In exec.c and in jobs.c there are several child_block() and child_unblock()
calls.  Tracing the system calls used by zsh it turns out that perhaps the
majority of these are these child block/unblock calls.  I think that the
performance of zsh could be improved a little bit by calling these blocking
code more carefully.  Unfortunately this child blocking stuff is quite a
mess.  I'm sure that there are some bugs hiding here (ie. the child signal
may remain blocked sometimes for quite a long time or it may be unblocked
when it should not be unblocked).

I think that zsh should not block child signals when it does not fork.  Is
there anyone who knows the details of this child blocking staff in exec.c?
Perhaps Sven would know that, but unfortunately it seems that he no longer
works on zsh :-(.  Btw. does anyone know the current E-mail address of
Sven?  I'd like to add it to the CONTRIBUTORS file.

Zoltan




Messages sorted by: Reverse Date, Date, Thread, Author