]> sourceware.org Git - newlib-cygwin.git/commit
Cygwin: pipe: Use ProcessHandleInformation if available.
authorTakashi Yano <takashi.yano@nifty.ne.jp>
Thu, 23 Sep 2021 14:33:55 +0000 (23:33 +0900)
committerKen Brown <kbrown@cornell.edu>
Thu, 23 Sep 2021 16:24:19 +0000 (12:24 -0400)
commit6c1f49f83fde855c9fc428c201b3e739ca2d187f
treec4b464f1721553ffc2c91ce18a6ff26bb1295a03
parentb531d6b06eeb9abad9ba3e41171e23a94c593b0d
Cygwin: pipe: Use ProcessHandleInformation if available.

- The commit b531d6b0 introduced temporary_query_hdl() which uses
  SystemHandleInformation. With this patch, ProcessHandleInformation
  rather than SystemHandleInformation is used if it is available.
  This request is faster, however, is only available since Windows 8,
  therefore, SystemHandleInformation is used for Windows Vista and 7
  as before.
winsup/cygwin/fhandler.h
winsup/cygwin/fhandler_pipe.cc
winsup/cygwin/ntdll.h
winsup/cygwin/wincap.cc
winsup/cygwin/wincap.h
This page took 0.033257 seconds and 5 git commands to generate.