]> xenbits.xensource.com Git - libvirt.git/commit
util: add note about event file descriptors on Windows
authorDaniel P. Berrangé <berrange@redhat.com>
Wed, 18 Dec 2019 16:46:07 +0000 (16:46 +0000)
committerDaniel P. Berrangé <berrange@redhat.com>
Fri, 3 Jan 2020 15:42:12 +0000 (15:42 +0000)
commit0e0970684489f54e48724f90b5e221582c8f071b
tree442e9e43b522d5fd4f0afc4e74cc0da0d921a7d0
parent7201a254a9cf51dfdd5e8a2137bb868748bdfbfb
util: add note about event file descriptors on Windows

When using GNULIB with Winsock, libvirt will never see the normal HANDLE
objects, instead GNULIB guarantees that libvirt gets a C runtime file
descriptor. The GNULIB poll impl also expects to get C runtime file
descriptors rather than HANDLE objects. Document this behaviour so that
it is clear to applications providing event loop implementations if they
need Windows portability.

Reviewed-by: Fabiano Fidêncio <fidencio@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
build-aux/syntax-check.mk
include/libvirt/libvirt-event.h
src/util/virevent.c