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 11:02:53 +0200

>>>>> On Fri, 06 May 2022 16:54:08 +0800, Po Lu <luangruo@yahoo.com> said:

    Po> Robert Pluim <rpluim@gmail.com> writes:
    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.

    Po> Xlib may or may not be built with xcb, that's hardly a given.  (We only
    Po> know that's true when USE_XCB is defined.)  Likewise for Xt using
    Po> `poll', which is optional, and may or may not be how the user's
    Po> installation is built.

Itʼs not really optional: the configure script for Xt will use 'poll'
if itʼs found. But I guess I can add a check in the Lucid and Motif
builds.

Robert
-- 



reply via email to

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