|
From: | Paolo Bonzini |
Subject: | Re: [Qemu-devel] [PULL 05/16] arch_init: Alloc and free data struct for compression |
Date: | Thu, 07 May 2015 19:18:46 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 |
On 07/05/2015 18:46, Juan Quintela wrote: > static CompressParam *comp_param; > static QemuThread *compress_threads; > +/* comp_done_cond is used to wake up the migration thread when > + * one of the compression threads has finished the compression. > + * comp_done_lock is used to co-work with comp_done_cond. > + */ > +static QemuMutex *comp_done_lock; > +static QemuCond *comp_done_cond; Can you please putr these (and the corresponding globals for decompression) in a struct? Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |