|
From: | Juan Quintela |
Subject: | Re: [Qemu-devel] [PATCH 08/12] announce_timer: Add ability to reset an existing |
Date: | Tue, 30 May 2017 12:15:06 +0200 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) |
Vladislav Yasevich <address@hidden> wrote: > It is now potentially possible to issue annouce-self command in a tight > loop. Instead of doing nother, we can reset the timeout pararameters, nother? > static void qemu_announce_self_once(void *opaque) > { > AnnounceTimer *timer = (AnnounceTimer *)opaque; > > + qemu_mutex_lock(&timer->active_lock); > qemu_foreach_nic(qemu_announce_self_iter, NULL); > > - if (--timer->round) { > + if (--timer->round ) { extra space
[Prev in Thread] | Current Thread | [Next in Thread] |