]> git.tdb.fi Git - libs/core.git/commit
Allow setting a pipe read-only or write-only after creation
authorMikko Rasa <tdb@tdb.fi>
Tue, 15 Oct 2013 11:53:04 +0000 (14:53 +0300)
committerMikko Rasa <tdb@tdb.fi>
Tue, 15 Oct 2013 11:53:04 +0000 (14:53 +0300)
commit9a4c531eb1aa68595cd3ab074b31bfa565aaefe2
treea463f65114feece7df1f4ef1194e5283f1edcfd3
parent754132d5541ff9db869ef22e7863097110545339
Allow setting a pipe read-only or write-only after creation

This is useful for handing the pipe to a child process and then closing
the unused end so an end-of-file event can be properly received.
source/io/pipe.cpp
source/io/pipe.h