I have a small app that does some work on a secondary thread (spawned using spawn() phobos function).

I want to update UI with progress from this thread: which is the right way? Is there any example?

I'm not sure if gtk signals are ok with threads and I can't understand how to build a custom signal with gtk.

Thanks,
Andrea