On Tue, Jan 07, 2003 at 11:46:16AM -0500, Levi Dixon wrote:
> 
> I have tested it and it works for me.  As far as thread safety, all of OCI
> could suffer from thread safety problems, not just this feature.  If we want
> ext/oci8 to be thread safe, we should really pass the OCI_THREADED flag into
> OCIInitialize().  At first glance it seems that thread safety should be
> accounted for #ifdef ZTS.  Is this correct?  I can add it if required.

    yes - but you only need to use OCI_THREADED if you want oci
    to mutex around the use of statements and connections. as we
    don't share statements or connections between threads (yet)
    we don't need to do that (yet). plus i think it will be
    slightly slower. (as you know threads are always slow;-)

    re,
    tc

-- 
Thies C. Arntzen   -   Looking for all sorts of freelance work  -   just ask..
                  http://www.amazon.de/exec/obidos/wishlist/AB9DY62QWDSZ

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to