[maemo-developers] Handling asynchronous events in maemo

From: Santtu Lakkala inz at inz.fi
Date: Fri Feb 23 17:34:42 EET 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Sampath Goud wrote:
> Can somebody let me know if there are any ways to handle asynchronous
> events
> in Maemo.
> I am looking for Event driven mechanism (observer design pattern) and not
> polling.
> I want to know which libraries support this method.

I don't know what you're doing and what you want to do asynchronously,
but gtk+ in itself is event driven (unless you do something in very
weird manner). DBus as used on the device can be used in asynchronous
ways for IPC. IIRC libcurl can do asynchronous for web stuff (although I
personally prefer libsoup due to it's nice integration with glib).

So yes, there definitely are ways to handle asynchronous events, for a
more detailed answer, you should reveal more of what you're planning to
do, the event source being the most important thing.

- --
Santtu Lakkala
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)

iD8DBQFF3wmSX9Rc0+po4p0RAgDeAJ9c8ZnYbAn0askCE5vFWWJLU4HGwgCeLgGY
4QlLsSlPhj9yJspr+CRawb4=
=/D7f
-----END PGP SIGNATURE-----

More information about the maemo-developers mailing list