[omniORB] Multithreading
Leandro Fanzone
leandro@hasar.com
Mon Jun 24 15:04:01 2002
Thank you for your answer; my problem is with CorbaScript, a piece of
software that I did not write and that is to be compiled with omniORB.
Working as a server, CorbaScript under heavy use by several clients
collapse with a segmentation fault, and I suspect it is a (lack of)
synchronization problem. I took a brief look at their code, and it seems
not to be multithread aware. So if I could pass some ORB option through
command line to prevent the multithreaded handling of the incoming
clients, perhaps I could attenuate the problem; the sole idea of doing
the synchronization myself in a source as extensive as is CorbaScript
without knowing its inner mechanisms scares me. In any case I still
could not identify positively the problem, so perhaps it even has
nothing to do with this, but knowing how to avoid multithreading could
help me to find the problem, or discard theories.
bjorn rohde jensen wrote:
>Hi Leandro,
>
> OmniORB is always multithreaded, you can not change that, but
>why would you want to? You can always do the required
>synchronisation yourself.
>
>Yours sicnerely,
>
>Bjorn
>
>
>