[gambit-list] Gambit and event-based systems
Álvaro Castro-Castilla
alvaro.castro.castilla at gmail.com
Thu Aug 7 07:46:42 EDT 2014
Hi,
Specially in the mobile world, there are many platforms that force the
developer to think and code its applications around events. Sometimes this
is done with virtual functions or interface implementation, overriding
methods, or plain C-style callbacks.
The problem is, in any of these cases, generally the main loop is
controlled by the application. Since Gambit runs within the
___setup(params) function, and then quits (expecting ___cleanup() to be
called), there is no way to easily adapt to this architecture except for
running in a separate thread and communicating through messages or shared
data.
Is there a better way to do this?
Best regards,
Álvaro Castro-Castilla
Digital Experiences. -- visit The Blog
<http://blog.fourthbit.com/>
<http://fourthbit.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.iro.umontreal.ca/pipermail/gambit-list/attachments/20140807/622714a6/attachment.htm>
More information about the Gambit-list
mailing list