[Q] g_main_context_prepare(): main loop already active in another thread



How can I solve this problem?
 
(process:2209): GLib-WARNING **: g_main_context_prepare(): main loop already active in another thread
 
I create two process which are a server and a client.
 
Server process has two objects.
 
And client has two threads, each thread is connected  an object of server.
 
The two threads of client are acting, simultaneously.
 
Sometimes, upper problem occurred, then a client's thread is not working properly.
 
Thanks in advance.


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