static void do_wakeup(void *opaque) { int notify; cursor_notify = NOTIFY_CURSOR_BATCH; for (notify = NOTIFY_DISPLAY_BATCH; notify > 0;--notify) { produce_command(); } g_core->timer_start(wakeup_timer, wakeup_ms); qxl_worker->wakeup(qxl_worker); }
static void do_wakeup(void *opaque) { Test *test = opaque; int notify; test->cursor_notify = NOTIFY_CURSOR_BATCH; for (notify = NOTIFY_DISPLAY_BATCH; notify > 0;--notify) { produce_command(test); } test->core->timer_start(test->wakeup_timer, test->wakeup_ms); spice_qxl_wakeup(&test->qxl_instance); }