On 03-01-18 03:56, binghoo dang wrote:

thank you mike.
I know the code you mentioned above. but I think that we may have a way to and a D-style callback rather the C-style.

Unlike the demo the code liked uses a D delegate, i think this is the
best we can do for now for getting messages from other threads into the
GLib mainloop.