[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
--
- 1024 file descriptors should be enough for anyone, Robert Pluim, 2022/05/04
- Re: 1024 file descriptors should be enough for anyone, Po Lu, 2022/05/04
- Re: 1024 file descriptors should be enough for anyone, Po Lu, 2022/05/04
- Re: 1024 file descriptors should be enough for anyone, Robert Pluim, 2022/05/05
- Re: 1024 file descriptors should be enough for anyone, Robert Pluim, 2022/05/06
- Re: 1024 file descriptors should be enough for anyone, Po Lu, 2022/05/06
- Re: 1024 file descriptors should be enough for anyone,
Robert Pluim <=
- Re: 1024 file descriptors should be enough for anyone, Po Lu, 2022/05/06
- Re: 1024 file descriptors should be enough for anyone, Robert Pluim, 2022/05/06
- Re: 1024 file descriptors should be enough for anyone, Po Lu, 2022/05/06
- Re: 1024 file descriptors should be enough for anyone, Robert Pluim, 2022/05/06
- Re: 1024 file descriptors should be enough for anyone, Po Lu, 2022/05/06
- Re: 1024 file descriptors should be enough for anyone, Po Lu, 2022/05/06
- Re: 1024 file descriptors should be enough for anyone, Robert Pluim, 2022/05/06
Surprisingly high use of file descriptors, Stefan Monnier, 2022/05/04