[LUG.ro] Manejo de se~nales

Mauricio Notti lugro@lugro.org.ar
Thu, 14 Dec 2006 19:40:17 -0300


Buenas!

Tengo una duda sobre la especificaci'on de signal. En el man 2 signal, dice:

PORTABILITY
       The original Unix signal() would reset the handler to SIG_DFL,
and System V (and  the  Linux kernel  and  libc4,5) does the same.  On
the other hand, BSD does not reset the handler, but blocks new
instances of this signal from occurring during a call of the handler.
The glibc2 library follows the BSD behaviour.

Seg'un tengo entendido y apartir de un par de pruebas, verifico (a
menos que la est'e pifiando en algo) que Linux adopta el
comportamiento de BSD, no el de System V, por lo que el man estar'ia
incorrecto, o posiblemente desactualizado (el que tengo en mi Slack
aparenta ser del 2000-04-28, Linux 2.2 ).

Alguien podr'ia aclararme un poco el panorama?

Gracias de antemano.