Skip to content
Snippets Groups Projects
Commit 1c809fa0 authored by Daniel P. Berrangé's avatar Daniel P. Berrangé
Browse files

io: add helper module for creating watches on FDs


A number of the channel implementations will require the
ability to create watches on file descriptors / sockets.
To avoid duplicating this code in each channel, provide a
helper API for dealing with file descriptor watches.

There are two watch implementations provided. The first
is useful for bi-directional file descriptors such as
sockets, regular files, character devices, etc. The
second works with a pair of unidirectional file descriptors
such as pipes.

Signed-off-by: default avatarDaniel P. Berrange <berrange@redhat.com>
parent 666a3af9
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment