Re: Bug#10623: [gimp-bug] Signal masks undefined

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tuesday, 9 May 2000, chris@xxxxxxxxxxxxxxxx wrote:

> -- Problem description:
> When compiling, SA_NOMASK is undefined.

> -- Other comments:
> Checking a RedHat 6.2 machine indicates this is simply
> #define'ed from SA_NODEFER. Adding the folowing code to
> app/main.c and libgimp/gimp.c solves the problem:
> 
> #ifndef SA_NOMASK
> #define SA_NOMASK SA_NODEFER
> #endif

Why are we even _trying_ to set SA_NOMASK or SA_NODEFER?

SA_NODEFER is a SVR4-ism, SA_NOMASK is as linux-ism, and neither of
them are desirable.  As far as I understand it, this asked that while
the signal handling function runs, the signal being processed is not
blocked.  This is really quite dangerous behaviour, since the signal
handler must now be made reentrant.

I don't understand why we're going to quite a lot of trouble to enable
a "feature" we really don't want in the first place!

Austin


[Index of Archives]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [GEGL]     [Gimp's Home]     [Gimp on GUI]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux