diff options
| author | zhanghailiang <zhang.zhanghailiang@huawei.com> | 2017-02-17 10:53:11 +0800 |
|---|---|---|
| committer | Jason Wang <jasowang@redhat.com> | 2017-03-06 11:46:02 +0800 |
| commit | 66d2a2423ef3f2a3b066d7e9e3301e4fd42f51b3 (patch) | |
| tree | d235ec7722cc2d51d43394de6eee881d09c02c4e /chardev/char-socket.c | |
| parent | 002d394fd492f837083058832edd7ee97a8c3280 (diff) | |
| download | focaccia-qemu-66d2a2423ef3f2a3b066d7e9e3301e4fd42f51b3.tar.gz focaccia-qemu-66d2a2423ef3f2a3b066d7e9e3301e4fd42f51b3.zip | |
colo-compare: use g_timeout_source_new() to process the stale packets
Instead of using qemu timer to process the stale packets, We re-use the colo compare thread to process these packets by creating a new timeout coroutine. Besides, since we process all the same vNIC's net connection/packets in one thread, it is safe to remove the timer_check_lock. Signed-off-by: zhanghailiang <zhang.zhanghailiang@huawei.com> Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'chardev/char-socket.c')
0 files changed, 0 insertions, 0 deletions