Re: C++ app implementing client and server
- From: Michael Meeks <michael ximian com>
- To: Tyler Kohn <TKohn axeda com>
- Cc: "'orbit-list gnome org'" <orbit-list gnome org>
- Subject: Re: C++ app implementing client and server
- Date: Mon, 03 Nov 2003 13:23:05 +0000
Hi Tyler,
On Thu, 2003-10-30 at 12:15, Tyler Kohn wrote:
> I hope I'm doing something dumb. I'm using ORBit2-2.8.1.90-1 on redhat 8.
Right; I'd recommend using 2.8.2 since there are a number of deadlocks
/ misc. problems fixed in that.
> My application first creates a thread and starts a server from that thread
> (I've pretty much just copied the echo example).
Ok. Who is processing incoming traffic ? unless you set a processing
policy using ORBit_ObjectAdaptor_set_thread_hint (poa,
...HINT_PER_REQUEST) or somesuch - you won't get a slave I/O thread - so
you have to run the glib mainloop somewhere yourself to handle input.
See include/orbit/poa/orbit-adaptor.h for the API.
HTH,
Michael.
--
michael@ximian.com <><, Pseudo Engineer, itinerant idiot
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]