Multi-threaded

Toralf Lund <[email protected]> Wed, 2 Jun 2010 14:47:47 +0200
Newsgroups gmane.comp.gnome.orbit.general
Message-ID <[email protected]>
First question: Is this list actually alive???

Second question: Can anyone explain how to set up an ORBit2 server so 
that it can process several requests in parallel via multi-threading?

The FAQ says


        Can I receive invocations in multiple threads ?

    Yes - assuming you have a glib mainloop ( or a linc_mainloop )
    running in one or several of your threads. The precice thread that
    the invocation is recieved in is unpredictable.

But this doesn't really help me much... I mean, if I set up one thread 
with a glib mainloop, what do I do in the others? Surely the requests 
won't just magically end up in other threads without me telling ORBit2 
that they exits? Should I perhaps run mainloops in all the threads?

- Toralf


This e-mail, including any attachments and response string, may contain proprietary information which is confidential and may be legally privileged. It is for the intended recipient only. If you are not the intended recipient or transmission error has misdirected this e-mail, please notify the author by return e-mail and delete this message and any attachment immediately. If you are not the intended recipient you must not use, disclose, distribute, forward, copy, print or rely on this e-mail in any way except as permitted by the author.