[omniORB] Accessing ServiceContext from omniORBpy?
Renzo Tomaselli
renzo.tomaselli@tecnotp.it
Fri Feb 7 08:44:01 2003
Hi,
I have a closely related question: an interceptor fetches a
ServiceContext value from a request, then its stores it into a TLS chunk.
Later the same thread can retrieve it (implementation-space).
While this works well in C++, are we sure that the retrieving Python
implementation will belong to the same thread ? If true, a small Python
extension in C++ can retrieve the context from TLS and this provides a
possible answer to Craig's question. Otherwise we are in trouble since we
lost the concept of "current thread" and thus TLS is lost as well.
Renzo Tomaselli
----- Original Message -----
From: "Craig Rodrigues" <rodrigc@attbi.com>
To: <omniorb-list@omniorb-support.com>
Sent: Friday, February 07, 2003 4:45 AM
Subject: [omniORB] Accessing ServiceContext from omniORBpy?
> Hi,
>
> Does anyone have a code example for accessing
> the ServiceContext of a CORBA request
> from omniORBpy?
>
> Thanks.
> --
> Craig Rodrigues
> http://home.attbi.com/~rodrigc
> rodrigc@attbi.com
> _______________________________________________
> omniORB-list mailing list
> omniORB-list@omniorb-support.com
> http://www.omniorb-support.com/mailman/listinfo/omniorb-list