Refactor: extract code to make an fd non-clocking into a function.
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 2 Nov 2010 11:57:19 +0000 (11:57 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 2 Nov 2010 11:57:19 +0000 (11:57 +0000)
commitb835320170f0c5d5d38d4d2ab0eea9612141faa1
tree52e88f18482eeae896316f2d7f2bc37525383958
parent4445d0357bc7ffe2d83c5209410f2a00c5b0bb25
Refactor: extract code to make an fd non-clocking into a function.

Simply extract part of the code from evtloopunix.cpp into a reusable
wxPipe::MakeNonBlocking() function to be able to reuse it elsewhere.

See #12636.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65992 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
include/wx/unix/pipe.h
src/unix/evtloopunix.cpp