Re: [Vala] How to do a timedout async method
- From: Matias De la Puente <mfpuente ar gmail com>
- To: JM <interflug1 gmx net>
- Cc: vala <vala-list gnome org>
- Subject: Re: [Vala] How to do a timedout async method
- Date: Sat, 24 Jul 2010 15:22:22 -0300
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]