glib und contexts



Hi all, 

if I set a new context in a certain thread with 
        
        loop = g_main_loop_new(g_main_context_new(), FALSE);
        
..., add some watches to some iochannels, are these watchers
automatically added to the new context or not? 

The reason is: I want to have two completely independant main loops in
two different threads, and I dont know if the above is enough to reach
this. 



thanks in advance & greetings, 

                axel.



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