Yep that's what I've just seen. I've decided to try via mingwin which seems to implement a poll function...
Callbacks implementation are really hard for a noob :)

Regards,

Arnaud




De: "Eric Blake" <eblake@redhat.com>
Envoyé: lundi 31 janvier 2011 20:12
A: arnaud.champion@si-vs1281.com
Objet: Re: [libvirt] Raising events for testing


On 01/31/2011 11:52 AM, arnaud.champion@devatom.fr wrote:
>> There is - it involves using gnulib. But that is only for C and C++ - I
>> have no idea how this translates over to C#
> So if I understand well, are you saying that if I use gnulib windows version via C# (pinvoke, this kind of magic) I will have access to poll function ?
> Intersting, I'll take a look. I hope gnulib if published via a dll under windows, if so, I'm pretty sure I can use it with C#
> regards

Sorry; gnulib is a source only library that currently targets only C and
C++; it does not target C#, and does not provide any dll, so I have no
idea how that affects your porting efforts.

--
Eric Blake eblake@redhat.com +1-801-349-2682
Libvirt virtualization library http://libvirt.org