Re: PyORBit threading support hits CVS



On Sat, 2005-12-03 at 21:33 +0000, Gustavo J. A. M. Carneiro wrote:
>   I have coded support for threading into PyORBit.  It's in CVS, if
> anyone wants to try.  I have wrapped POA::create_thread_policy and
> POA::create_POA, as well as POA::set_thread_hint, for complete threading
> control.
> 
>   I was a bit disappointed, though.  While concurrent threading works,
> THREAD_HINT_PER_REQUEST is behaving more like
> THREAD_HINT_PER_CONNECTION, i.e. concurrency from multiple clients works
> well, but requests from the same client are being serialized.  I already
> use orbit-io-thread in the client, which then performs two CORBA
> requests concurrently (two threads), but the servant receives them one
> after the other.  Any thoughts?  Do C/C++ apps exibit the same problem?

  It appears that this was a client-side issue.  PyORBit's fault (forgot
to release python lock during corba method calls).  Fixed now.  ORBit2
threading rocks! :-)

  Regards,

-- 
Gustavo J. A. M. Carneiro
<gjc inescporto pt> <gustavo users sourceforge net>
The universe is always one step beyond logic



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