Home
last modified time | relevance | path

Searched hist:"1 c809fa01df0c638417480dfd446415615bfd217" (Results 1 – 2 of 2) sorted by relevance

/qemu/include/io/
H A Dchannel-watch.h1c809fa01df0c638417480dfd446415615bfd217 Tue Mar 03 12:59:16 UTC 2015 Daniel P. Berrange <berrange@redhat.com> 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: Daniel P. Berrange <berrange@redhat.com>
/qemu/io/
H A Dchannel-watch.c1c809fa01df0c638417480dfd446415615bfd217 Tue Mar 03 12:59:16 UTC 2015 Daniel P. Berrange <berrange@redhat.com> 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: Daniel P. Berrange <berrange@redhat.com>