[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
--
- 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 <=
- 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, 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