]> xenbits.xensource.com Git - libvirt.git/commit
docs: Add callback-related info to virStream{Abort,Finish}
authorMartin Kletzander <mkletzan@redhat.com>
Tue, 20 Jun 2017 13:36:48 +0000 (15:36 +0200)
committerMartin Kletzander <mkletzan@redhat.com>
Wed, 28 Jun 2017 07:40:54 +0000 (09:40 +0200)
commitf1096c02473e231028b546af9d39d1931df9405f
treedc8c4d602d0289993ba9e043f65d187d3d628465
parentfdeac7a05fdf85458d72e89efcfa0f444525aaad
docs: Add callback-related info to virStream{Abort,Finish}

When one has a non-blocking stream and aborts or finishes it without
removing the callback, any event loop invocation will trigger that
callback, but it cannot be removed any more.  We cannot remove the
callback automatically from virStream{Abort,Finish} functions due to
forward-compatibility.  So let's at least document this behaviour,
because it is not easy to find out the reason for.

Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
src/libvirt-stream.c