Re: [Vala] Support for coroutines in Vala
- From: Luca Dionisi <luca dionisi gmail com>
- To: vala-list <vala-list gnome org>
- Subject: Re: [Vala] Support for coroutines in Vala
- Date: Wed, 6 Jul 2011 10:10:41 +0200
On Wed, Jul 6, 2011 at 9:51 AM, pancake <pancake youterm com> wrote:
why dont share it?
Sure. But it's not in great shape and I have little time.
Take a look at these files for the binding itself:
http://bzr.savannah.gnu.org/lh/netsukuku/vala/annotate/head:/libpth.vapi
http://bzr.savannah.gnu.org/lh/netsukuku/vala/annotate/head:/use_with_libpth_vapi.vala
Take a look at these files for an example of usage:
http://bzr.savannah.gnu.org/lh/netsukuku/vala/annotate/head:/libwrappth.vala
http://bzr.savannah.gnu.org/lh/netsukuku/vala/annotate/head:/tasklet.vala
For an example of how to compile, take a look at this makefile, look
for the target tasklet_tester
http://bzr.savannah.gnu.org/lh/netsukuku/vala/annotate/head:/makefile
Basically, you need to direct the use of the "libpth.vapi" file and
include with your sources the "use_with_libpth_vapi.vala" file.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]