lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

One solution could be to tie this with Lanes. Run the event loop in one lane (OS thread); use a Linda object (think: shared table with wait-on-change possibility) to distribute the events to any lane wanting them.

Might take some complexity away from the binding, I think.. Willing to help, on the integration, I am.


Chris kirjoitti 13.1.2009 kello 19:26:

On Tue, Jan 13, 2009 at 4:03 AM, pan shizhu <> wrote:

Hello, I've searched google and found nothing about lua binding for d-bus.

Before I'm writing my own, I think it is better to avoid reinventing the wheel, I'd like to ask if anyone has known about a lua binding for d-bus.

I would be very interested in a binding myself.  I wrote one a while
ago for talking to Skype via d-bus but it's tailored for that use,
very basic, and uses glib for the event loop.  If you want the source
just shoot me a mail.

The event handling was an absolute pain and I went with glib so I
could get something working.  I ended up with another thread running
the event loop via g_main.