diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2012-04-26 15:33:12 +0100 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2012-04-26 16:48:47 +0100 |
commit | a505423e589b4820745e855c49dded60afc04f6a (patch) | |
tree | f4ac5dc0141d0974ad4f7703996f0da78deed9f9 /perl | |
parent | eafefab93756b980bdb892df86e1ac3e5b88a260 (diff) | |
download | libguestfs-a505423e589b4820745e855c49dded60afc04f6a.tar.gz libguestfs-a505423e589b4820745e855c49dded60afc04f6a.tar.xz libguestfs-a505423e589b4820745e855c49dded60afc04f6a.zip |
lib: Remove the BUSY state.
Originally this state was intended so that in some way you could find
out if the appliance was running a command. However there was never a
thread-safe way to access the state of the handle, so in effect you
could never do anything useful safely with this information.
This commit completely removes the BUSY state.
The only visible change is to the guestfs_is_busy API. Previously you
could never call this safely from another thread. If you called it
from the same thread it would always return false (since the current
thread can't be running a libguestfs command at that point by
definition). Now it always returns false.
Diffstat (limited to 'perl')
-rw-r--r-- | perl/t/006-pod-coverage.t | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/perl/t/006-pod-coverage.t b/perl/t/006-pod-coverage.t index 65bb4c2c..52272752 100644 --- a/perl/t/006-pod-coverage.t +++ b/perl/t/006-pod-coverage.t @@ -22,7 +22,10 @@ use warnings; eval "use Test::Pod::Coverage 1.00"; plan skip_all => "Test::Pod::Coverage 1.00 required for testing POD" if $@; all_pod_coverage_ok ({ - also_private => [ qr/^test0.*/, - qr/^debug.*/, - qr/^internal.*/ ] + also_private => [ + qr/^debug.*/, + qr/^is_busy$/, + qr/^internal.*/, + qr/^test0.*/, + ] }); |