[omniORB] orb->run fails on NT

dahaverk at rockwellcollins.com dahaverk at rockwellcollins.com
Mon Aug 25 09:46:45 BST 2003


Yes.   Start with a rebuild.

Also, you should keep in mind that the thread policy is different on
Windows from Unix.   Windows will try to run blocked threads at random.
It's part of the Windows deadlock policy.  I haven't explicitly used
omniORB on Windows.  However MICO has some excellent instructions for
working with VC++ and an ORB.   Looking at their build instructions for
Windows would also be another reference point for you.

When I've ported Unix code to windows I used the pthread adaptation library
from Red Hat(?).  You should be able to find it if you search for "Windows
pthread".    Just a personal preference....    But I consider the pthread
interfaces an abstraction that is portable... rather than using something
that is specific to a particular ORB implementation.


-Dave


                                                                                                                                            
                      Fred Cook                                                                                                             
                      <ftcook at allvantage.com>              To:       omniorb-list at omniorb-support.com                                       
                      Sent by:                             cc:                                                                              
                      omniorb-list-bounces at omniorb-        Subject:  [omniORB] orb->run fails on NT                                         
                      support.com                                                                                                           
                                                                                                                                            
                                                                                                                                            
                      08/22/2003 12:35 PM                                                                                                   
                                                                                                                                            
                                                                                                                                            




Hi all,

We are porting a server to NT and have found an odd problem.  The code
is very similar to the echo example.  We have done this 100 times in the

Linux, solaris,HPUX world and have had no problems but with NT we  have
discovered that when orb->run() is  called the server goes off into the
abyss.  There seems to be a bit of a time out before it hangs too.  We
are doing a release mode build with omniORB 4 running on NT 4.0 and for
me MSDEV 6.0 and sp 5.  Would rebuilding omniORB be a good place to
start?

-Fred




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








More information about the omniORB-list mailing list