Re: monikers, multi-threading
- From: Michael Meeks <michael ximian com>
- To: Lutz Mueller <urc8 rz uni-karlsruhe de>
- Cc: gnome-components-list gnome org
- Subject: Re: monikers, multi-threading
- Date: Tue, 29 May 2001 10:16:17 -0400 (EDT)
Hi Lutz,
On 29 May 2001, Lutz Mueller wrote:
> I thought redirecting all request to a moniker could be the solution.
> One moniker, several apps. Indeed, this works if I serialize the
> requests in the module using a global mutex. If I just pass all
> requests to the moniker, something hangs.
Sadly, you are probably discovering that ORBit-stable ( and bonobo
) are not thread safe in Gnome 1.4 - this is addressed in Gnome 2.0 with
ORBit 2.0 [ and some pending bonobo work ]. You can only make CORBA calls
[ and most bonobo calls ] from a single thread of execution.
> As I said, introducing a global mutex in the module, thus serializing
> the requests for storages, helps.
If this serializes the CORBA / bonobo API traffic in its entirety,
that should be fine - as long as it is certain that only 1 thread is
handling stuff - all may be well.
HTH,
Michael.
--
mmeeks gnu org <><, Pseudo Engineer, itinerant idiot
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]