Re: Multi-threaded light-server example



On Thu, Aug 18, 2016 at 3:28 AM, Jens Georg <mail jensge org> wrote:
Everything! GUPnP-related has to be created in the worker thread after
g_main_context_push_thread_default.

Otherwise half of your call-backs end up in main thread.


Thanks for the quick reply. Ok then is the attached code (which seems
to work) correct?
Thanks for your help.

Attachment: light-server.c
Description: Text Data



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