cygrunsrv + sshd + rsync = 20 times too slow -- throttled?

Takashi Yano takashi.yano@nifty.ne.jp
Mon Sep 20 23:22:30 GMT 2021


On Mon, 20 Sep 2021 18:46:26 -0400
Ken Brown wrote:
> On 9/20/2021 6:16 PM, Takashi Yano wrote:
> > typedef of SYSTEM_HANDLE_TABLE_ENTRY_INFO and SYSTEM_HANDLE_INFORMATION
> > are moved into ntdll.h
> 
> > +typedef struct _SYSTEM_HANDLE_INFORMATION
> > +{
> > +  ULONG NumberOfHandles;
> > +  SYSTEM_HANDLE_TABLE_ENTRY_INFO Handles[1];
> > +} SYSTEM_HANDLE_INFORMATION, PSYSTEM_HANDLE_INFORMATION;
> > +
> 
> You missed a '*' in front of PSYSTEM_HANDLE_INFORMATION.  Also, since you 
> defined PSYSTEM_HANDLE_INFORMATION, there are two places where you could use it 
> instead of 'SYSTEM_HANDLE_INFORMATION *'.

Thanks for pointing out my mistake.

On Mon, 20 Sep 2021 18:50:17 -0400
Ken Brown wrote:
> One other thought: I wonder if temporary_query_hdl might be a more suggestive 
> name than tentative_query_hdl.

And thanks for the suggestion.

I have fixed them.

-- 
Takashi Yano <takashi.yano@nifty.ne.jp>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: v4-0001-Cygwin-pipe-Introduce-temprary-query_hdl.patch
Type: application/octet-stream
Size: 9676 bytes
Desc: not available
URL: <https://cygwin.com/pipermail/cygwin-developers/attachments/20210921/8fc885d2/attachment-0001.obj>


More information about the Cygwin-developers mailing list