Re: orbit-io-thread ?



On Tue, 2005-02-22 at 10:31 +0000, Michael Meeks wrote:
> On Tue, 2005-02-22 at 11:32 +0100, Jules Colding wrote:
> > True: orbit-adaptor.c line 29. Didn't see that one...
> > 
> > Are there any reason to keep the magical string if the POA thread hint
> > takes care of this?
> 
> 	Sure - I think that the 'do_threaded_io' thing is (potentially) not
> safe to be called from a random thread; so if your flow goes:
> 
> 	main
> 		-> create 20 threads
> 			-> 1 thread at random calls POA foo
> 
> 	then you'll need to pre-initialize the ORB to do multi-threaded I/O.

Ah... OK.

> 
> > I would *really* love to shoot it ;-)
> 
> 	It's a pre-emptive strike on the above problem.

Unfortunately yes. Well, some later day then :-)


Best regards,
  jules




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