[omniORB] Single Threaded Policy: really same thread?

Kevin Matassa kevin.matassa@adobe.com
Tue Dec 17 20:45:01 2002


Thanks to all that replied.  I simply have been trying to understand whether
servants are called via the same thread or not, and whether this is
configurable.  The reason why relates to legacy code that optimizes string
storage based on the current thread.

-Kevin

-----Original Message-----
From: baileyk@schneider.com [mailto:baileyk@schneider.com] 
Sent: December 17, 2002 2:10 PM
To: omniorb-list@omniorb-support.com
Subject: RE: [omniORB] Single Threaded Policy: really same thread?



Personally, I'm getting confused reading all of this.  Can you describe
exactly what you are trying to achieve?  How many servants are involved?
Does each need an idependent thread?  or should all of them share a single
thread?  Only one thread can be the "main" thread at a time and I don't
think you should try switching it more than once.  Unlike TAO, I think
omniORB is designed for only one thread to be in ORB::run() at a time, and I
know that omniORB does not allow multiple ORB instance in one process.

Kendall



_______________________________________________
omniORB-list mailing list
omniORB-list@omniorb-support.com
http://www.omniorb-support.com/mailman/listinfo/omniorb-list