]> git.ipfire.org Git - thirdparty/snapper.git/commitdiff
- added interruption point
authorArvin Schnell <aschnell@suse.de>
Sat, 9 Feb 2013 11:47:47 +0000 (06:47 -0500)
committerArvin Schnell <aschnell@suse.de>
Sat, 9 Feb 2013 11:47:47 +0000 (06:47 -0500)
snapper/Btrfs.cc

index b04b9b07e8413fbd4a4cc108f9e92260e18963f0..b8da76ff3fc43875a8c974ac67cb04c062f28fe9 100644 (file)
@@ -1047,6 +1047,8 @@ namespace snapper
     {
        while (true)
        {
+           boost::this_thread::interruption_point();
+
            int r = btrfs_read_and_process_send_stream(fd, &send_ops, &*this);
 
            if (r < 0)