Re: [Vala] How to do a timedout async method



El vie, 23-07-2010 a las 23:36 +0200, JM escribió:
Hello Matias
Is this what you are looking for?
This only works with async methods that release the mainloop in between.
Please see attached file.
Compiled with:
valac --pkg gio-2.0 async2.vala
Regards
Jörn



Thank you Jörn, it was very helpful!! I finally do a some sort of mix
between polled and interrupted code :)

Matias




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]