Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 May 2002 01:39:21 -0700
From:      Terry Lambert <tlambert2@mindspring.com>
To:        Eugene Panchenko <replicator@ngs.ru>
Cc:        hackers@freebsd.org
Subject:   Re: SIGPOLL
Message-ID:  <3CE21EB9.E77696F4@mindspring.com>
References:  <web-22588680@intranet.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
Eugene Panchenko wrote:
> SysV defines SIGPOLL, as well as Linux, Solaris, and (IIRC) Irix.
> However, it is NOT defined in any of *BSD.  In Linux it is
> simple "#define SIGPOLL SIGIO".  Some apps need it, thought.  What are
> the general policy for this: keep as *BSD and patch every SIGPOLL-app
> accordingly, or modify sys/signal.h ?

make -DSIGPOLL=SIGIO ?

Personally, I'd prefer that the code be properly ported to BSD,
but that's just me.

PS: Apps that rely on SIGPOLL are usually inherently broken,
since programmers who depend on SIGPOLL generally expect it
to be an even, rather than a persistant condition, and as we
all know, signals are persistant conditions, not events.

-- Terry

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3CE21EB9.E77696F4>