]> git.proxmox.com Git - pve-common.git/commitdiff
add upid_wait method
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 27 Jan 2016 12:15:05 +0000 (13:15 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Wed, 27 Jan 2016 15:54:50 +0000 (16:54 +0100)
Waits for a process identified by a UPID to end by busy waiting
and is intended for long running workers.

waitfunc gets called every wait cycle after min $sleep_interval
seconds and can be used for outputting/logging something or timing
out the wait.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>

No differences found