On Jul 5 17:51, Ken Brown wrote:
> On 7/5/2022 10:13 AM, Lavrentiev, Anton (NIH/NLM/NCBI) [C] via Cygwin wrote:
> > Hi,
> >
> > There's some inconsistency between and :
> >
> > sys/select.h has this:
> > ---
> > /*
> > * Select uses bit masks of file descriptors in longs.
Greetings, All!
Been doing some housekeeping in my Cygwin installation at work, and wanted to
change the owner of the files to something other than myself.
TrustedInstaller seemed like a good neutral target, but it took me a little
while to find out it is
1. …named "NT SERVICE+TrustedInstaller" a
> On Linux, select(2) is really only capable to
> handle file descriptors numbers up to descriptor number 1023,
That is not true. While FD_SETSIZE is defined as a fixed constant,
Linux kernel does not actually "know" (or care) about it.
So you can have an array of fd_sets, like this, in your cod
On 06/07/2022 08:42, Corinna Vinschen wrote:
On Jul 5 17:51, Ken Brown wrote:
On 7/5/2022 10:13 AM, Lavrentiev, Anton (NIH/NLM/NCBI) [C] via Cygwin wrote:
I guess we can change FD_SETSIZE to 1024 as on Linux, albeit this has no
real meaning on Cygwin. On Linux, select(2) is really only capab
On Jul 6 15:01, Jon Turney wrote:
> On 06/07/2022 08:42, Corinna Vinschen wrote:
> > On Jul 5 17:51, Ken Brown wrote:
> > > On 7/5/2022 10:13 AM, Lavrentiev, Anton (NIH/NLM/NCBI) [C] via Cygwin
> > > wrote:
> >
> > I guess we can change FD_SETSIZE to 1024 as on Linux, albeit this has no
> > rea
On Jul 6 13:19, Lavrentiev, Anton (NIH/NLM/NCBI) [C] via Cygwin wrote:
> > On Linux, select(2) is really only capable to
> > handle file descriptors numbers up to descriptor number 1023,
>
> That is not true. While FD_SETSIZE is defined as a fixed constant,
> Linux kernel does not actually "know
> Remember that 64 is MAXIMUM_WAIT_OBJECTS for WaitForMultipleObjects(),
> the underlying Win32 API used to implement select(), so using more than
> 64 hits some complex code to work around that...
True but the complex code (that involves thread spawning, if that's what you're
referring to)
will
On Jul 6 16:15, Corinna Vinschen wrote:
> On Jul 6 15:01, Jon Turney wrote:
> > Remember that 64 is MAXIMUM_WAIT_OBJECTS for WaitForMultipleObjects(), the
> > underlying Win32 API used to implement select(), so using more than 64 hits
> > some complex code to work around that...
>
> This isn't w
> DESCRIPTION
>WARNING: select() can monitor only file descriptors numbers that are
>less than FD_SETSIZE (1024)-an unreasonably low limit for many modern
Whoever wrote this, was wrong (they might have never consulted the actual
kernel code, or were just
blindsided by FD_SETS
On Jul 6 14:26, Lavrentiev, Anton (NIH/NLM/NCBI) [C] via Cygwin wrote:
> > DESCRIPTION
> >WARNING: select() can monitor only file descriptors numbers that
> > are
> >less than FD_SETSIZE (1024)-an unreasonably low limit for many
> > modern
>
> Whoever wrote this, was wrong
> However, discussing this shows how irrelevant the actual default value
> of FD_SETSIZE is.
Correct, yet the comments in the header files (along with used values) should
be consistent :-)
> [...] to define FD_SETSIZE according to its requirements anyway.
That'd work for CYGWIN right away; but
On 7/6/2022 11:57 AM, Lavrentiev, Anton (NIH/NLM/NCBI) [C] via Cygwin wrote:
However, discussing this shows how irrelevant the actual default value
of FD_SETSIZE is.
Correct, yet the comments in the header files (along with used values) should
be consistent :-)
I'll make the changes that Cor
On Jul 6 13:32, Andrey Repin wrote:
> Greetings, All!
>
> Been doing some housekeeping in my Cygwin installation at work, and wanted to
> change the owner of the files to something other than myself.
> TrustedInstaller seemed like a good neutral target, but it took me a little
> while to find out
The following packages have been uploaded to the Cygwin distribution.
This release updates to the latest upstream security patch release and
continues to use the Fedora patches from an earlier release (Fedora has
already switched to openssl 3.x).
* openssl-1.1.1q-1
* openssl-perl-1.1.1q-1
* libs
Greetings, Corinna Vinschen!
> On Jul 6 13:32, Andrey Repin wrote:
>> Greetings, All!
>>
>> Been doing some housekeeping in my Cygwin installation at work, and wanted to
>> change the owner of the files to something other than myself.
>> TrustedInstaller seemed like a good neutral target, but it
15 matches
Mail list logo