Re: ORBit server question
- From: Elliot Lee <sopwith redhat com>
- To: Michael Lausch <mla gams co at>
- cc: gnome-components-list gnome org, orbit-list cuc edu
- Subject: Re: ORBit server question
- Date: Wed, 2 Sep 1998 18:24:12 -0400 (EDT)
On Wed, 2 Sep 1998, Michael Lausch wrote:
> I want to build a ORBit server which should support multiple clients
> and multiple objects per client. Is this possible? From browsing the
> example code on the redhat website
> <http://www.gimp.org/~imain/ORBit-GTK/ORBit-GTK-1.html#ss1.5> it seems
> that the only thing to do is to use the same server address in the
> different clients.
yea duh
> Also is the ORBit server code thread safe? I'd like to make a MT server,
> becuase some operations can last quite some time, so the other clients
> will be not served during this time.
It is _supposed_ to be thread safe if you compile it with -D_REENTRANT in
the CFLAGS, but I have not tested it, and I can think of a lot of places
where it isn't thread-safe. Any help you can lend in this area would
definitely be appreciated!
For your specific case, you could just use oneway operations, which don't
have this "wait for reply" problem.
-- Elliot
Progress (n.): The process through which Usenet has evolved from smart
people in front of dumb terminals to dumb people in front of smart
terminals. -- obs@burnout.demon.co.uk
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]