Re: [Spice-devel] [PATCH v3] [0.8 branch] server: add main_dispatcher

2011-10-24 Thread Alon Levy
On Mon, Oct 24, 2011 at 12:17:19PM +0200, Yonit Halperin wrote: > On 10/23/2011 07:10 PM, Alon Levy wrote: > >add main_dispatcher, a message passing mechanism for sending messages to > >the main thread. The main thread is the thread that implements > >SpiceCoreInterface, which is assumed to be a si

Re: [Spice-devel] [PATCH v3] [0.8 branch] server: add main_dispatcher

2011-10-24 Thread Yonit Halperin
On 10/23/2011 07:10 PM, Alon Levy wrote: add main_dispatcher, a message passing mechanism for sending messages to the main thread. The main thread is the thread that implements SpiceCoreInterface, which is assumed to be a single thread. Similar to the async operation of red_worker, a socket pair

[Spice-devel] [PATCH v3] [0.8 branch] server: add main_dispatcher

2011-10-23 Thread Alon Levy
add main_dispatcher, a message passing mechanism for sending messages to the main thread. The main thread is the thread that implements SpiceCoreInterface, which is assumed to be a single thread. Similar to the async operation of red_worker, a socket pair is created and used to pass messages. The