Re: [libvirt-users] event handler

2013-10-14 Thread Alexandr
Michal Privoznik писал 2013-10-14 12:04: On 14.10.2013 10:57, Alexandr wrote: Michal Privoznik писал 2013-10-14 11:39: On 14.10.2013 10:33, Alexandr wrote: Michal Privoznik писал 2013-10-14 08:48: On 14.10.2013 02:42, Alexandr wrote: good day to all. i still have not solved my problem with e

Re: [libvirt-users] event handler

2013-10-14 Thread Michal Privoznik
On 14.10.2013 10:57, Alexandr wrote: > Michal Privoznik писал 2013-10-14 11:39: >> On 14.10.2013 10:33, Alexandr wrote: >>> Michal Privoznik писал 2013-10-14 08:48: On 14.10.2013 02:42, Alexandr wrote: > good day to all. > i still have not solved my problem with event handling. > c

Re: [libvirt-users] event handler

2013-10-14 Thread Alexandr
Michal Privoznik писал 2013-10-14 11:39: On 14.10.2013 10:33, Alexandr wrote: Michal Privoznik писал 2013-10-14 08:48: On 14.10.2013 02:42, Alexandr wrote: good day to all. i still have not solved my problem with event handling. currently i have following code void libvirt_eventloop_thr_func

Re: [libvirt-users] event handler

2013-10-14 Thread Michal Privoznik
On 14.10.2013 10:33, Alexandr wrote: > Michal Privoznik писал 2013-10-14 08:48: >> On 14.10.2013 02:42, Alexandr wrote: >>> good day to all. >>> i still have not solved my problem with event handling. >>> currently i have following code >>> >>> >>> void libvirt_eventloop_thr_func() >>> { >>> wh

Re: [libvirt-users] event handler

2013-10-14 Thread Alexandr
Michal Privoznik писал 2013-10-14 08:48: On 14.10.2013 02:42, Alexandr wrote: good day to all. i still have not solved my problem with event handling. currently i have following code void libvirt_eventloop_thr_func() { while(true) //TODO: stop somehow on exit { if(virEventRunDe

Re: [libvirt-users] event handler

2013-10-13 Thread Michal Privoznik
On 14.10.2013 02:42, Alexandr wrote: > good day to all. > i still have not solved my problem with event handling. > currently i have following code > > > void libvirt_eventloop_thr_func() > { > while(true) //TODO: stop somehow on exit > { > if(virEventRunDefaultImpl() < 0) >