On Mon, Sep 05, 2011 at 03:29:39PM +0200, Gerd Hoffmann wrote: > Hi, > > >I verified it still calls reds_stream_free from the worker thread, only > >now the call itself is done in red_channel.c (via red_channel_disconnect > >or something like that), which is called from red_worker.c > > Where the code in red_channel.c is now shared for all channel types? > Hmm. That makes it a bit harder to change the workflow I guess ...
can do the usual (well, done once in hw/qxl.c) trick of if (pthread_id() == stored_thread_id_from_main_channel_creation) { write_to_pipe_read_in_main_thread } else { real_reds_stream_free(); } > > cheers, > Gerd > > _______________________________________________ > Spice-devel mailing list > spice-de...@lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/spice-devel