Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: OCIBreak from different process
It will be interesting to see the result of this.
However as I understand, when OCI library is loaded for an application, it
customizes itself on loading (e.g. NLS parameters).
Now that makes me wonder since the initialized part is separate for two
processes, will sharing the context work? Since the context is associated
with the OCIEnv* you might want to share that as well.
Also you might want to try OCI_SHARED flag to see if that does the trick.
To get the same effect as OCI_SHARED, I think Oracle has an environment variable OCI_SHARED_MODE that achives the same thing as initializing OCIEnvCreate with OCI_SHARED mode.
Good luck!
-- ----------------------------------------------------------------- Amit Jindal, Development Engineer Want ease of development or performance? Why not get both! http://www.roguewave.com/products/sourcepro/db/ Turbo charge any C/C++ apps - without changing code! http://www.roguewave.com/ATSevan01 [Disclaimer: All views expressed here are my personal views and they can be incorrect at times] ----------------------------------------------------------------- "Knut Stolze" <stolze_at_informatik.uni-jena.de> wrote in message news:b8btvd$re4$1_at_fsuj29.rz.uni-jena.de...Received on Mon Apr 28 2003 - 18:20:18 CDT
> Hi,
>
> Is it possible to have one process (not thread!) of an application to call
> OCIExecute, and a different process interrupting the OCIExecute with a
call
> to OCIBreak()?
>
> I haven't found anything saying what would be necessary to accomplish this
> task. Somehow I would have to share the Service Context across the
process
> boundaries, right? Anyone knows if that's possible and how it would have
to
> be done?
>
> --
> Knut Stolze
![]() |
![]() |