Re: [Vala] How to use Game loop style with Glib main loop(for events)?
- From: Levi Bard <taktaktaktaktaktaktaktaktaktak gmail com>
- To: Tal Hadad <tal_hd hotmail com>
- Cc: Vala Mail List <vala-list gnome org>
- Subject: Re: [Vala] How to use Game loop style with Glib main loop(for events)?
- Date: Thu, 4 Aug 2011 20:10:23 +0200
I'm glad it's possible. Can you please explain how do you integrate this?
I'm new(half year) for the glib concepts, so the only integration I know with Glib main loop is Idle.add
()...
Does you do this single threaded, or dual?
Just using the main thread, with MainContext.iteration()
http://developer.gnome.org/glib/stable/glib-The-Main-Event-Loop.html#g-main-context-iteration
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]