emacs-devel
[Top][All Lists]
Advanced

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

Re: 1024 file descriptors should be enough for anyone


From: Robert Pluim
Subject: Re: 1024 file descriptors should be enough for anyone
Date: Fri, 06 May 2022 10:28:02 +0200

>>>>> On Thu, 05 May 2022 08:55:10 +0800, Po Lu <luangruo@yahoo.com> said:

    Po> Great, thanks!  Though would prefer `syspoll.h' to be part of
    Po> `sysselect.h' instead, since it just defines a wrapper that pretends to
    Po> be `pselect'.  It also means we can get rid of the following
    Po> incantation:

    >>> +#ifdef USE_POLL
    >>> +#include "syspoll.h"
    >>> +#endif

I kind of did this: syspoll.h still exists, but itʼs now included via
sysselect.h

    Po> init_xterm must reject displays whose fds are larger than FD_MAXSIZE on
    Po> Lucid and Motif builds, since Xt uses pselect internally.  (I don't
    Po> remember if XtOpenDisplay does that for you anymore.)

xcb will check for exceeding FD_SETSIZE, but only when using 'select',
and Xt will use 'poll' if itʼs available, so I donʼt think itʼs an
issue.

Robert
-- 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]