I know GTK APIs are not thread safe, I've an app with a thread doing a
massive job that wants to update the gui status every few cycles, to do
so I remembered an old post speaking about g_idle_add.
The question I have and which I didn't find answers both googling, both
looking at the sources
On 6/4/07, Gabriele Greco [EMAIL PROTECTED] wrote:
I know GTK APIs are not thread safe, I've an app with a thread doing a
massive job that wants to update the gui status every few cycles, to do
so I remembered an old post speaking about g_idle_add.
The question I have and which I didn't find
On 6/4/07, Gabriele Greco [EMAIL PROTECTED] wrote:
The question I have and which I didn't find answers both googling, both
looking at the sources is if g_idle_add can be called without any extra
mutex/lock from another thread.
Yes, this works fine. You do need to init the threads system, but