Re: [Fwd: Client *and* server?]



Thanks for the response.

dank@kegel.com wrote:

>
> First off, you should not be using orbit from more than one thread.
> It's a single-threaded system.
> Orbit's multithread support is not ready yet.  (Or so I gather.)

Ah, ok. I wasn't sure about that. You think ORBit-mt could solve my problems then?

>
>
> Second, there's no particular reason to have one thread for
> your client and a different thread for your server; can't you
> run both in the same thread?

How?? My ORBit server finishes with CORBA_ORB_run which never returns. Therefore to
carry on doing any work you surely need to do so in a separate thread?

>
>
> Third, gdb just now acquired the ability to do remote debugging of
> multithreaded programs.  You'll need to build it from CVS, though,
> as even gdb 5.2 doesn't support it; it's very new.
> - Dan

I'll look into that, thanks.

Katherine




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