Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: How to use OCI/ODBC in multi-process programs?
"Jason Liang" <jxnliang_at_yahoo.co.jp> a écrit dans le message de
news:caf30d77.0409180700.1e243a01_at_posting.google.com...
> Thanks Michel.
>
> I can't use thread, because I have to use another library that is not
> thread-safe.
>
> I know if I open a file before forking a process, then the child
> process will inherate the open file descriptor. I am not sure if a
> child process inherate an open database connection - using OCI or
> ODBC.
>
>
> Regards,
>
> Jason Liang.
>
>
IIRC sharing connexion between forked processes is not supported.
-- Regards Michel CadotReceived on Sat Sep 18 2004 - 10:57:27 CDT
![]() |
![]() |