Add user cancellation to the C API.
authorRichard W.M. Jones <rjones@redhat.com>
Fri, 15 Jul 2011 09:43:36 +0000 (10:43 +0100)
committerRichard W.M. Jones <rjones@redhat.com>
Fri, 15 Jul 2011 13:11:46 +0000 (14:11 +0100)
commit9ec9c97ce2ba46e56b304d3a367c86adc703160d
tree69c7ea6ab8a6664d95c8573863536f54284931c7
parentf173543fd207bdc254a5eb75180d82ef25eacae9
Add user cancellation to the C API.

This allows long transfers (FileIn and FileOut operations) to be
cancelled by calling the signal and thread safe guestfs_user_cancel
function.

Most of this commit consists of a multithreaded program that tests
user cancellation of uploads and downloads.
.gitignore
capitests/Makefile.am
capitests/test-user-cancel.c [new file with mode: 0644]
generator/generator_c.ml
src/guestfs-internal.h
src/guestfs.c
src/guestfs.pod
src/proto.c