You are not logged in.

#1 2012-12-01 16:56:40

neok
Member
From: Cyprus
Registered: 2003-12-14
Posts: 190
Website

Need help with g_main_context_iteration() and SIGCHLD

Hi,

I have an application I have written that uses g_main_context_iteration() in the code, and it also uses fork() to spawn child processes on multicore processor machines. Recently (within perhaps the last month) it freezes when it runs multi-threaded, because a SIGCHLD signal is received when g_main_context_iteration() is called in the code. Previously SIGCHLD was received only when one of the apps child processes exited.

Has there been any change in GTK2 so that calling g_main_context_iteration() now generates a SIGCHLD signal? If so what might be the best way to deal with this problem?


Regards

Neoklis ... Ham Radio Call: 5B4AZ

Offline

Board footer

Powered by FluxBB