Re: ORB in different thread?



On Thu, 2005-02-03 at 14:58 +0100, Jules Colding wrote:
> Hi,
> 
> I'll like to duplicate() a reference to an ORB and call ORB_run() in
> another thread while (later) calling ORB_shutdown() in the main thread.
> 
> Should I expect that to work?

Apparently not... I am getting:

** ERROR **: file giop.c: line 634 (giop_main_run): assertion failed: (giop_thread_self () == giop_main_thread)
aborting...

Do I really need a global ORB object for this to work?


-- 
  jules




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]