orbacus

Is it possible to have several ORB objects in the same process?

依然范特西╮ 提交于 2019-12-11 11:23:13
问题 I use ORBacus. I have a multithreading application and I want to have several ORB objects in the same process . The idea is: each thread to have its own ORB and to be connected to different server . Is this even possible? If so - how? " What have you tried? " : I have CORBA::ORB_var m_varOrb; in each thread. Each thread calls. Each thread has Reconnect method, which executes: // ... m_varOrb = CORBA::ORB_init( argc, argv ); The issues, I have: when several threads are trying to reconnect at

Use multiple ORBs through different threads (multithreaded multi-orb client application) - how?

眉间皱痕 提交于 2019-12-02 18:06:49
问题 This question is related to: Is it possible to have several ORB objects in the same process? So, thanks to @BrianKelly I found information about the ORB identifier (even though there was no such information in all ORBACUS docs, that I have) and I successfully created a simple application, that connects to different CORBA servers and successfully executed several CORBA requests. So far, so good. Now, what I want to do, is to make this application multithreaded and to start a separate thread