Re: gtkclipboard.c


On Mon, 2008-03-31 at 00:49 -0400, Yu Feng wrote:

> In order to make a blocked operation, the main thread(thread 0) spawns a
> new thread(saying, thread 1) to wait for the callback. 

There are no threads being spawned here. g_main_loop_new() doesn't spawn
a thread. Of course I may have missed something, but the code looks
perfectly safe to me.


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