Displaying 3 results from an estimated 3 matches for "domain_event_register_any".
2014 Mar 14
3
Sys::Virt integration into other event loops
...e ones included in Sys::Virt source, which consist of a series of run_once() calls, or a while loop around run_default().
Does anyone have any idea how I can make this play nicely with an existing event loop such as EV, or even to fire off ($cv->send) an AnyEvent condvar when the event I set in domain_event_register_any() triggers?
Our current solution involves setting an AnyEvent->timer, which periodically fires off and then does a run_once() to see if any events happened during the period, but we’d like something more responsive (i.e., triggers when the event actually occurs) and less poll-y feeling.
I’d ap...
2010 Dec 13
0
ANNOUNCE: ruby-libvirt bindings 0.3.0
All,
I'm pleased to announce the release of 0.3.0 of the ruby-libvirt bindings.
This release has a number of updates:
* Implementation of Libvirt::open_auth, Libvirt::event_register_impl
* Updated Connect class, implementing conn.compare_cpu, conn.baseline_cpu,
conn.domain_event_register_any, conn.domain_event_deregister_any,
conn.domain_event_register, conn.domain_event_deregister, and
conn.create_domain_xml.
* Updated Domain class, implementing dom.get_vcpus, dom.update_device,
dom.scheduler_type, dom.scheduler_parameters, dom.scheduler_parameters=,
dom.num_vcpus, dom.vc...
2014 Mar 14
0
Re: Sys::Virt integration into other event loops
...ource,
> which consist of a series of run_once() calls, or a while loop around
> run_default().
>
> Does anyone have any idea how I can make this play nicely with an existing
> event loop such as EV, or even to fire off ($cv->send) an AnyEvent condvar
> when the event I set in domain_event_register_any() triggers?
>
> Our current solution involves setting an AnyEvent->timer, which periodically
> fires off and then does a run_once() to see if any events happened during
> the period, but we’d like something more responsive (i.e., triggers when
> the event actually occurs) and les...