]> git.ipfire.org Git - thirdparty/systemd.git/commit
journal-remote: make the child pipe non-blocking
authorDan Dedrick <ddedrick@lexmark.com>
Wed, 4 May 2016 21:06:45 +0000 (17:06 -0400)
committerDan Dedrick <ddedrick@lexmark.com>
Mon, 10 Oct 2016 19:11:01 +0000 (15:11 -0400)
commit800d3f3478b3dfd546344a4b8f5cc09860bd7da5
tree9676b7403986b95214154cf48195e88b7ff277c8
parent53c06862c12918ec717ea70918039765212eee95
journal-remote: make the child pipe non-blocking

We are going to add this child as a source to our event loop so we don't
want to block when reading data from it as this will prevent us from
processing other events. Specifically this will block the signalfds
which means if we are waiting for data from curl we won't handle SIGTERM
or SIGINT until we happen to get more data.
src/journal-remote/journal-remote.c